Package editor
Class GosuDocument.DocumentReader
java.lang.Object
java.io.Reader
editor.GosuDocument.DocumentReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
- Enclosing class:
- GosuDocument
Class to provide Reader functionality from a portion of a Document.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) int
(package private) int
(package private) int
(package private) Segment
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, ready, skip, transferTo
-
Field Details
-
segment
Segment segment -
p0
int p0 -
p1
int p1 -
pos
int pos -
index
int index
-
-
Constructor Details
-
DocumentReader
public DocumentReader(int p0, int p1)
-
-
Method Details
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-
reset
- Overrides:
reset
in classReader
- Throws:
IOException
-
read
- Specified by:
read
in classReader
- Throws:
IOException
-
loadSegment
- Throws:
IOException
-