org.encog.util.file
Class ResourceInputStream
- java.lang.Object
-
- org.encog.util.file.ResourceInputStream
-
public class ResourceInputStream extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description ResourceInputStream()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.io.InputStreamopenResourceInputStream(java.lang.String resource)Construct a location to read from the specified resource.static java.lang.StringreadResourceAsString(java.lang.String resource)
-
-
-
Method Detail
-
openResourceInputStream
public static java.io.InputStream openResourceInputStream(java.lang.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.- Returns:
- The stream.
-
readResourceAsString
public static java.lang.String readResourceAsString(java.lang.String resource)
-
-
DMelt 3.0 © DataMelt by jWork.ORG