Package com.esotericpig.jeso.io
Class StringListReader
java.lang.Object
java.io.Reader
com.esotericpig.jeso.io.StringListReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
- Author:
- Jonathan Bradley Whited
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected int
protected ListIterator<String>
protected String
protected int
protected int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionStringListReader
(List<String> list) protected
StringListReader
(List<String> list, Object lock) -
Method Summary
Methods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Field Details
-
charIndex
protected int charIndex -
charMark
protected int charMark -
iterator
-
line
-
lineIndex
protected int lineIndex -
lineMark
protected int lineMark -
list
-
-
Constructor Details
-
StringListReader
-
StringListReader
-
-
Method Details
-
close
public void close() -
checkIfClosed
- Throws:
IOException
-
mark
- Throws:
IOException
-
mark
- Overrides:
mark
in classReader
- Throws:
IOException
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-
read
- Specified by:
read
in classReader
- Throws:
IOException
-
reset
- Overrides:
reset
in classReader
- Throws:
IOException
-
skip
- Overrides:
skip
in classReader
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classReader
-
ready
- Overrides:
ready
in classReader
- Throws:
IOException
-