Package com.tangosol.util
Class NullImplementation.NullReader
java.lang.Object
java.io.Reader
com.tangosol.util.NullImplementation.NullReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
- Enclosing class:
NullImplementation
A reader that does basically nothing. Note that multiple instances are
required because the API dictates that the close method must cause
further invocations to all other methods to throw an IOException.
- Author:
- jh 2012.03.28
-
Field Summary
-
Method Summary
Methods inherited from class java.io.Reader
nullReader, transferTo
-
Method Details
-
mark
- Overrides:
mark
in classReader
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classReader
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-
read
- Specified by:
read
in classReader
- Throws:
IOException
-
read
- Specified by:
read
in interfaceReadable
- Overrides:
read
in classReader
- Throws:
IOException
-
ready
- Overrides:
ready
in classReader
- Throws:
IOException
-
reset
- Overrides:
reset
in classReader
- Throws:
IOException
-
skip
- Overrides:
skip
in classReader
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-