Documentation of 'org.encog.persist.source.ObtainFallbackStream' Java class
ObtainFallbackStream
org.encog.persist.source

Class ObtainFallbackStream

  • All Implemented Interfaces:
    ObtainInputStream


    public class ObtainFallbackStream
    extends java.lang.Object
    implements ObtainInputStream
    A fallback stream that will attempt to read from the resource first, failing that, read from a file.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ObtainFallbackStream(java.lang.String thePath, java.lang.String theDatasetName, java.lang.Class theResources)
      Construct the source.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.io.InputStream obtain()
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObtainFallbackStream

        public ObtainFallbackStream(java.lang.String thePath,
                                    java.lang.String theDatasetName,
                                    java.lang.Class theResources)
        Construct the source.
        Parameters:
        thePath - The path.
        theDatasetName - The name of the dataset.
        theResources - Where to pull the resources from.
    • Method Detail

      • obtain

        public java.io.InputStream obtain()
        Specified by:
        obtain in interface ObtainInputStream
        Returns:
        An input stream.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.