org.apache.cocoon.servletservice.util
Class NullServletInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjavax.servlet.ServletInputStream
          extended byorg.apache.cocoon.servletservice.util.NullServletInputStream

public class NullServletInputStream
extends ServletInputStream

Always empty stream.

Since:
1.0.0
Version:
$Id: NullServletInputStream.java 608375 2008-01-03 08:33:00Z reinhard $

Field Summary
static NullServletInputStream INSTANCE
           
 
Constructor Summary
NullServletInputStream()
           
 
Method Summary
 int read()
           
 
Methods inherited from class javax.servlet.ServletInputStream
readLine
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final NullServletInputStream INSTANCE
Constructor Detail

NullServletInputStream

public NullServletInputStream()
Method Detail

read

public int read()
         throws IOException
Throws:
IOException


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.