Overview | Package | Class | Tree | Deprecated | Index | Help
| oNVDL-20070517 API
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 java.lang.Object

Method Summary
`static java.lang.String` | `fileToUri(java.io.File file)`
`static java.lang.String` | `fileToUri(java.lang.String file)`
`static void` | `main(java.lang.String[] args)`
`static java.lang.String` | `toUri(java.lang.String uriOrFile)`
`static java.lang.String` | `uriToUriOrFile(java.lang.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 java.lang.String toUri(java.lang.String uriOrFile)

### fileToUri

    public static java.lang.String fileToUri(java.lang.String file)
                                      throws java.net.MalformedURLException

  Throws:
    `java.net.MalformedURLException`

### fileToUri

    public static java.lang.String fileToUri(java.io.File file)
                                      throws java.net.MalformedURLException

  Throws:
    `java.net.MalformedURLException`

### uriToUriOrFile

    public static java.lang.String uriToUriOrFile(java.lang.String uri)

### main

    public static void main(java.lang.String[] args)

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

© Copyright SyncRO Soft SRL 2006-2007.