Class TextDataLoader

  • All Implemented Interfaces:
    DataLoader

    public class TextDataLoader
    extends FileDataLoader
    Returns a string based on a plain text file.

    Note: This class should be an AbstractTextDataLoader subclass, but it is not that for backward compatibility.

    • Constructor Summary

      Constructors 
      Constructor Description
      TextDataLoader()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object load​(java.io.InputStream data)
      FileDataLoader subclasess override this method to parse the file.
      • Methods inherited from class java.lang.Object

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

      • TextDataLoader

        public TextDataLoader()
    • Method Detail

      • load

        protected java.lang.Object load​(java.io.InputStream data)
                                 throws java.lang.Exception
        Description copied from class: FileDataLoader
        FileDataLoader subclasess override this method to parse the file.
        Specified by:
        load in class FileDataLoader
        Throws:
        java.lang.Exception