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

## morfologik.util
Class ResourceUtils

    java.lang.Object
      morfologik.util.ResourceUtils

    public final class ResourceUtils

extends java.lang.Object

Resource management utilities.

Method Summary
`static java.io.InputStream` | `openInputStream(java.lang.String resource)` Returns an input stream to the resource.

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

Method Detail

### openInputStream

    public static java.io.InputStream openInputStream(java.lang.String resource)
                                               throws java.io.IOException

  Returns an input stream to the resource.

  Parameters:
    `resource` - The path leading to the resource. Can be an URL, a path leading to a class resource or a `File`.
  Returns:
    InputStream instance.
  Throws:
    `java.io.IOException` - If the resource could not be found or opened.

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