Skip navigation links
com.tangosol.util
Class NullImplementation.NullReader
java.lang.Object
java.io.Reader
com.tangosol.util.NullImplementation.NullReader
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable
- Enclosing class:
- NullImplementation
-
public static class NullImplementation.NullReader
- extends java.io.Reader
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
Fields inherited from class java.io.Reader |
lock |
mark
public void mark(int cb)
throws java.io.IOException
-
- Overrides:
mark
in class java.io.Reader
-
- Throws:
java.io.IOException
markSupported
public boolean markSupported()
-
- Overrides:
markSupported
in class java.io.Reader
read
public int read()
throws java.io.IOException
-
- Overrides:
read
in class java.io.Reader
-
- Throws:
java.io.IOException
read
public int read(char[] ach)
throws java.io.IOException
-
- Overrides:
read
in class java.io.Reader
-
- Throws:
java.io.IOException
read
public int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
-
- Specified by:
read
in class java.io.Reader
-
- Throws:
java.io.IOException
read
public int read(java.nio.CharBuffer buf)
throws java.io.IOException
-
- Specified by:
read
in interface java.lang.Readable
- Overrides:
read
in class java.io.Reader
-
- Throws:
java.io.IOException
ready
public boolean ready()
throws java.io.IOException
-
- Overrides:
ready
in class java.io.Reader
-
- Throws:
java.io.IOException
reset
public void reset()
throws java.io.IOException
-
- Overrides:
reset
in class java.io.Reader
-
- Throws:
java.io.IOException
skip
public long skip(long ch)
throws java.io.IOException
-
- Overrides:
skip
in class java.io.Reader
-
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
-
- Specified by:
close
in interface java.io.Closeable
- Specified by:
close
in class java.io.Reader
-
- Throws:
java.io.IOException
Skip navigation links
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.