Class ASource

java.lang.Object
org.xblackcat.sjpu.cli.reader.ASource
All Implemented Interfaces:
ISource
Direct Known Subclasses:
FileSource, StdInSource

public abstract class ASource
extends java.lang.Object
implements ISource
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected ASource​(java.io.InputStream in)  
  • Method Summary

    Modifier and Type Method Description
    long getBytesRead()  
    java.io.BufferedReader getReader()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.xblackcat.sjpu.cli.reader.ISource

    getSize
  • Constructor Details

    • ASource

      protected ASource​(java.io.InputStream in)
  • Method Details

    • getReader

      public java.io.BufferedReader getReader()
      Specified by:
      getReader in interface ISource
    • getBytesRead

      public long getBytesRead()
      Specified by:
      getBytesRead in interface ISource