org.encog.util.file
Class ResourceInputStream
java.lang.Object
org.encog.util.file.ResourceInputStream
public class ResourceInputStream
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceInputStream
public ResourceInputStream()
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.