Class CloneableFileReader
java.lang.Object
java.io.Reader
CloneableFileReader
- All Implemented Interfaces:
Closeable, AutoCloseable, Cloneable, Readable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String(package private) FileReader(package private) long -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Reader
mark, markSupported, nullReader, of, read, read, read, readAllAsString, readAllLines, ready, reset, skip, transferTo
-
Field Details
-
freader
FileReader freader -
filename
String filename -
position
long position
-
-
Constructor Details
-
CloneableFileReader
- Throws:
FileNotFoundException
-
-
Method Details
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
read
- Specified by:
readin classReader- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classReader- Throws:
IOException
-