Package ipsk.net
Class Utils
- java.lang.Object
-
- ipsk.net.Utils
-
public class Utils extends java.lang.Object
- Author:
- klausj
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.net.URI
createAsciiURIFromFile(java.io.File file)
static java.lang.String
createAsciiURLExtFormFromFile(java.io.File file)
static java.net.URL
createAsciiURLFromFile(java.io.File file)
static java.io.File
fileFromDecodedURL(java.net.URL url)
static java.io.File
fileFromURL(java.net.URL url)
Deprecated.
-
-
-
Method Detail
-
createAsciiURIFromFile
public static java.net.URI createAsciiURIFromFile(java.io.File file) throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
-
createAsciiURLFromFile
public static java.net.URL createAsciiURLFromFile(java.io.File file) throws java.net.URISyntaxException, java.net.MalformedURLException
- Throws:
java.net.URISyntaxException
java.net.MalformedURLException
-
createAsciiURLExtFormFromFile
public static java.lang.String createAsciiURLExtFormFromFile(java.io.File file) throws java.net.URISyntaxException, java.net.MalformedURLException
- Throws:
java.net.URISyntaxException
java.net.MalformedURLException
-
fileFromURL
@Deprecated public static java.io.File fileFromURL(java.net.URL url)
Deprecated.
-
fileFromDecodedURL
public static java.io.File fileFromDecodedURL(java.net.URL url) throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
-
-