org.encog.util
Class ResourceLoader
- java.lang.Object
-
- org.encog.util.ResourceLoader
-
public final class ResourceLoader extends java.lang.ObjectUsed to load resources from the JAR file.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.io.InputStreamcreateInputStream(java.lang.String resource)Create an input stream to read from the resource.static java.lang.StringloadString(java.lang.String resource)Load the resource as a string.
-
-
-
Method Detail
-
createInputStream
public static java.io.InputStream createInputStream(java.lang.String resource)
Create an input stream to read from the resource.- Parameters:
resource- The resource to load.- Returns:
- An input stream.
-
loadString
public static java.lang.String loadString(java.lang.String resource)
Load the resource as a string.- Parameters:
resource- The resource to load.- Returns:
- The resource as a string.
-
-
DMelt 3.0 © DataMelt by jWork.ORG