Package org.xblackcat.sjpu.cli.reader
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 protectedASource(java.io.InputStream in) -
Method Summary
Modifier and Type Method Description longgetBytesRead()java.io.BufferedReadergetReader()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ASource
protected ASource(java.io.InputStream in)
-
-
Method Details
-
getReader
public java.io.BufferedReader getReader() -
getBytesRead
public long getBytesRead()- Specified by:
getBytesReadin interfaceISource
-