com.itextpdf.tool.itextdoc.pdf
Class DocumentationInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.itextpdf.tool.itextdoc.pdf.DocumentationInputStream
All Implemented Interfaces:
Closeable

public class DocumentationInputStream
extends InputStream

Author:
redlab_b http://www.redlab.be/

Constructor Summary
DocumentationInputStream(InputStream source)
           
 
Method Summary
 void close()
           
 int read()
           
 void switchStream(InputStream in)
          Switches the source stream with the given InputStream.
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentationInputStream

public DocumentationInputStream(InputStream source)
Parameters:
source - the layout file
Method Detail

read

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

switchStream

public void switchStream(InputStream in)
Switches the source stream with the given InputStream.

Parameters:
in - the stream to read from

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class InputStream
Throws:
IOException


Copyright © 2011 1T3XT BVBA. All Rights Reserved.