Skip navigation links 
 
com.tangosol.util
Class NullImplementation.NullReader
java.lang.Object
   java.io.Reader
java.io.Reader
       com.tangosol.util.NullImplementation.NullReader
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:
- markin class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
 
markSupported
public boolean markSupported()
- 
- Overrides:
- markSupportedin class- java.io.Reader
 
read
public int read()
         throws java.io.IOException
- 
- Overrides:
- readin class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
 
read
public int read(char[] ach)
         throws java.io.IOException
- 
- Overrides:
- readin class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
 
read
public int read(char[] cbuf,
                int off,
                int len)
         throws java.io.IOException
- 
- Specified by:
- readin class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
 
read
public int read(java.nio.CharBuffer buf)
         throws java.io.IOException
- 
- Specified by:
- readin interface- java.lang.Readable
- Overrides:
- readin class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
 
ready
public boolean ready()
              throws java.io.IOException
- 
- Overrides:
- readyin class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
 
reset
public void reset()
           throws java.io.IOException
- 
- Overrides:
- resetin class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
 
skip
public long skip(long ch)
          throws java.io.IOException
- 
- Overrides:
- skipin class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
 
close
public void close()
           throws java.io.IOException
- 
- Specified by:
- closein interface- java.io.Closeable
- Specified by:
- closein class- java.io.Reader
 
- 
- Throws:
- java.io.IOException
 
Skip navigation links 
 
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.