org.encog.util

## Class ResourceLoader

- java.lang.Object
- - org.encog.util.ResourceLoader

-     public final class ResourceLoader
      extends Object

  Used to load resources from the JAR file.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static InputStream` | `createInputStream(String resource)` Create an input stream to read from the resource.
    `static String` | `loadString(String resource)` Load the resource as a string.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### createInputStream

          public static InputStream createInputStream(String resource)

      Create an input stream to read from the resource.
      Parameters:
        `resource` - The resource to load.
      Returns:
        An input stream.

    - #### loadString

          public static String loadString(String resource)

      Load the resource as a string.
      Parameters:
        `resource` - The resource to load.
      Returns:
        The resource as a string.

Copyright © 2014. All Rights Reserved.