org.encog.util.file

## Class ResourceInputStream

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

-     public class ResourceInputStream
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ResourceInputStream()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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)

Copyright © 2014. All Rights Reserved.