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

## org.encog.util.file
Class ResourceInputStream

    java.lang.Object
      org.encog.util.file.ResourceInputStream

    public class ResourceInputStream

extends Object

Constructor Summary
`ResourceInputStream()`

Method Summary
`static InputStream` | `openResourceInputStream(String resource)` Construct a location to read from the specified resource.
`static String` | `readResourceAsString(String resource)`

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

Constructor Detail

### ResourceInputStream

    public ResourceInputStream()

Method Detail

### openResourceInputStream

    public static InputStream openResourceInputStream(String resource)

  Construct a location to read from the specified resource. An example of the format for a file stored this way is: org/encog/data/classes.txt

  Parameters:
    `resource` - The resource to read from.

### readResourceAsString

    public static String readResourceAsString(String resource)

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

Copyright © 2011. All Rights Reserved.