Class URLUtils
java.lang.Object
net.thevpc.common.io.URLUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringgetURLFilePath(String path) static URLHeaderInfogetURLHeader(URL url) static StringgetURLName(URL url) static StringgetURLProtocol(String path) static booleanstatic booleanstatic booleanisRemoteURL(String url) static booleanstatic DateparseHttpDate(String date) static Filestatic PathtoFilePath(URL url) static Pathstatic URL
-
Constructor Details
-
URLUtils
public URLUtils()
-
-
Method Details
-
isURL
-
getURLProtocol
-
toFile
- Throws:
IOException
-
toPath
- Throws:
IOException
-
toFilePath
- Throws:
IOException
-
getURLFilePath
-
toURL
- Throws:
MalformedURLException
-
isFileURL
-
isFileURL
-
buildUrl
-
parseHttpDate
-
getURLHeader
- Throws:
IOException
-
isRemoteURL
-
getURLName
-