org.encog.persist.source
Class ObtainResourceInputStream
- java.lang.Object
-
- org.encog.persist.source.ObtainResourceInputStream
-
- All Implemented Interfaces:
- ObtainInputStream
public class ObtainResourceInputStream extends java.lang.Object implements ObtainInputStream
Obtain an InputStream from an embedded resource.
-
-
Constructor Summary
Constructors Constructor and Description ObtainResourceInputStream(java.lang.String theResourceName, java.lang.Class theResources)Construct the source for the specified resource name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.io.InputStreamobtain()
-
-
-
Constructor Detail
-
ObtainResourceInputStream
public ObtainResourceInputStream(java.lang.String theResourceName, java.lang.Class theResources)Construct the source for the specified resource name.- Parameters:
theResourceName- The resource name to read from.theResources- Where to pull the resources from.
-
-
Method Detail
-
obtain
public java.io.InputStream obtain()
- Specified by:
obtainin interfaceObtainInputStream- Returns:
- An input stream.
-
-
DMelt 3.0 © DataMelt by jWork.ORG