| java.lang.Object org.pdfbox.pdfwriter.ContentStreamWriter
ContentStreamWriter | public class ContentStreamWriter (Code) | | A class that will take a list of tokens and write out a stream with them.
author: Ben Litchfield version: $Revision: 1.8 $ |
Field Summary | |
final public static byte[] | EOL standard line separator on this platform. | final public static byte[] | SPACE space character. |
Constructor Summary | |
public | ContentStreamWriter(OutputStream out) This will create a new content stream writer.
Parameters: out - The stream to write the data to. |
Method Summary | |
public void | writeTokens(List tokens, int start, int end) This will write out the list of tokens to the stream. | public void | writeTokens(List tokens) This will write out the list of tokens to the stream. |
EOL | final public static byte[] EOL(Code) | | standard line separator on this platform.
|
SPACE | final public static byte[] SPACE(Code) | | space character.
|
ContentStreamWriter | public ContentStreamWriter(OutputStream out)(Code) | | This will create a new content stream writer.
Parameters: out - The stream to write the data to. |
writeTokens | public void writeTokens(List tokens, int start, int end) throws IOException(Code) | | This will write out the list of tokens to the stream.
Parameters: tokens - The tokens to write to the stream. Parameters: start - The start index into the list of tokens. Parameters: end - The end index into the list of tokens. throws: IOException - If there is an error writing to the stream. |
writeTokens | public void writeTokens(List tokens) throws IOException(Code) | | This will write out the list of tokens to the stream.
Parameters: tokens - The tokens to write to the stream. throws: IOException - If there is an error writing to the stream. |
|
|