org.norther.tammi.acorn.io
Class VoidInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.norther.tammi.acorn.io.VoidInputStream
All Implemented Interfaces:
Closeable

public class VoidInputStream
extends InputStream

An input stream for reading nothing.

Version:
$Id: VoidInputStream.java,v 1.5 2009/09/28 15:08:49 cvsimp Exp $
Author:
Ilkka Priha

Constructor Summary
VoidInputStream()
          Constructs a new stream.
 
Method Summary
 boolean markSupported()
           
 int read()
           
 void reset()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, read, read, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoidInputStream

public VoidInputStream()
Constructs a new stream.

Method Detail

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException

reset

public void reset()
Overrides:
reset in class InputStream

markSupported

public boolean markSupported()
Overrides:
markSupported in class InputStream


Copyright © 2004 The Norther Organization. All rights reserved.