Package org.eclipse.net4j.util.io
Class LimitedReader
java.lang.Object
java.io.Reader
org.eclipse.net4j.util.io.LimitedReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
- Since:
- 3.1
- Author:
- Eike Stepper
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLimitedReader
(Reader in, long length) LimitedReader
(Reader in, long length, boolean closeBackingReader) -
Method Summary
Methods inherited from class java.io.Reader
nullReader, read, read, ready, transferTo
-
Constructor Details
-
LimitedReader
- Since:
- 3.20
-
LimitedReader
-
-
Method Details
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-
read
- Specified by:
read
in classReader
- Throws:
IOException
-
skip
- Overrides:
skip
in classReader
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classReader
-
mark
- Overrides:
mark
in classReader
- Throws:
IOException
-
reset
- Overrides:
reset
in classReader
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-