org.apache.cocoon.core.container.spring.avalon
Class SourceIOInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.apache.cocoon.core.container.spring.avalon.SourceIOInputStream

public class SourceIOInputStream
extends InputStream

Version:
$Id: SourceIOInputStream.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  boolean closed
           
protected  InputStream delegate
           
protected  SourceResolver resolver
           
protected  Source source
           
 
Constructor Summary
SourceIOInputStream(SourceResolver resolver, Source source)
           
 
Method Summary
 int available()
           
protected  void check()
           
 void close()
           
 void mark(int arg0)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] arg0)
           
 int read(byte[] arg0, int arg1, int arg2)
           
 void reset()
           
 long skip(long arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected final InputStream delegate

source

protected final Source source

closed

protected boolean closed

resolver

protected final SourceResolver resolver
Constructor Detail

SourceIOInputStream

public SourceIOInputStream(SourceResolver resolver,
                           Source source)
                    throws IOException
Method Detail

available

public int available()
              throws IOException
Throws:
IOException
See Also:
InputStream.available()

close

public void close()
           throws IOException
Throws:
IOException
See Also:
InputStream.close()

mark

public void mark(int arg0)
See Also:
InputStream.mark(int)

markSupported

public boolean markSupported()
See Also:
InputStream.markSupported()

read

public int read()
         throws IOException
Throws:
IOException
See Also:
InputStream.read()

read

public int read(byte[] arg0,
                int arg1,
                int arg2)
         throws IOException
Throws:
IOException
See Also:
InputStream.read(byte[], int, int)

read

public int read(byte[] arg0)
         throws IOException
Throws:
IOException
See Also:
InputStream.read(byte[])

reset

public void reset()
           throws IOException
Throws:
IOException
See Also:
InputStream.reset()

skip

public long skip(long arg0)
          throws IOException
Throws:
IOException
See Also:
InputStream.skip(long)

check

protected void check()
              throws IOException
Throws:
IOException


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