Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.thaiopensource.util
Class UriOrFile

    java.lang.Object
      com.thaiopensource.util.UriOrFile

    public class UriOrFile

extends Object

Method Summary
`static String` | `fileToUri(File file)`
`static String` | `fileToUri(String file)`
`static void` | `main(String[] args)`
`static String` | `toUri(String uriOrFile)`
`static String` | `uriToUriOrFile(String uri)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### toUri

    public static String toUri(String uriOrFile)

### fileToUri

    public static String fileToUri(String file)
                            throws MalformedURLException

  Throws:
    `MalformedURLException`

### fileToUri

    public static String fileToUri(File file)
                            throws MalformedURLException

  Throws:
    `MalformedURLException`

### uriToUriOrFile

    public static String uriToUriOrFile(String uri)

### main

    public static void main(String[] args)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD