com.thaiopensource.util
Class UriOrFile
java.lang.Object
  |
  +--com.thaiopensource.util.UriOrFile
- public class UriOrFile- extends Object
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
toUri
public static String toUri(String uriOrFile)
- 
 
fileToUri
public static String fileToUri(String file)
                        throws MalformedURLException
- 
- MalformedURLException
 
fileToUri
public static String fileToUri(File file)
                        throws MalformedURLException
- 
- MalformedURLException
 
uriToUriOrFile
public static String uriToUriOrFile(String uri)
- 
 
main
public static void main(String[] args)
-