Class FileSource

java.lang.Object
org.xblackcat.sjpu.cli.reader.ASource
org.xblackcat.sjpu.cli.reader.FileSource
All Implemented Interfaces:
ISource

public class FileSource
extends ASource
  • Constructor Summary

    Constructors
    Constructor Description
    FileSource​(java.io.File file)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Long getSize()  

    Methods inherited from class org.xblackcat.sjpu.cli.reader.ASource

    getBytesRead, getReader

    Methods inherited from class java.lang.Object

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

    • FileSource

      public FileSource​(java.io.File file) throws java.io.FileNotFoundException
      Throws:
      java.io.FileNotFoundException
  • Method Details

    • getSize

      public java.lang.Long getSize()