org.freehep.graphicsio.pdf
Class PDFByteWriter
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.freehep.util.io.CountedByteOutputStream
org.freehep.graphicsio.pdf.PDFByteWriter
- All Implemented Interfaces:
- Closeable, Flushable, PDFConstants
public class PDFByteWriter
- extends org.freehep.util.io.CountedByteOutputStream
- implements PDFConstants
Implements the real writer for the PDFWriter. This class does byte-counting
to eventually build the cross-reference table, block length counting for the
length of streams, and platform dependent end-of-line characters.
- Version:
- $Id: PDFByteWriter.java 8584 2006-08-10 23:06:37Z duns $
- Author:
- Mark Donszelmann
Fields inherited from interface org.freehep.graphicsio.pdf.PDFConstants |
CAP_BUTT, CAP_ROUND, CAP_SQUARE, dateFormat, EOL, JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND, MODE_CLIP, MODE_FILL, MODE_FILL_CLIP, MODE_FILL_STROKE, MODE_FILL_STROKE_CLIP, MODE_INVISIBLE, MODE_STROKE, MODE_STROKE_CLIP |
Methods inherited from class org.freehep.util.io.CountedByteOutputStream |
getCount, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
write
public void write(String s)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class FilterOutputStream
- Throws:
IOException
print
public void print(String string)
throws IOException
- Throws:
IOException
printPlain
public void printPlain(String string)
throws IOException
- Throws:
IOException
println
public void println()
throws IOException
- Throws:
IOException
indent
public void indent()
outdent
public void outdent()
println
public void println(String string)
throws IOException
- Throws:
IOException
print
public void print(int number)
throws IOException
- Throws:
IOException
println
public void println(int number)
throws IOException
- Throws:
IOException
printPlain
public void printPlain(int number)
throws IOException
- Throws:
IOException
print
public void print(double number)
throws IOException
- Throws:
IOException
println
public void println(double number)
throws IOException
- Throws:
IOException
printPlain
public void printPlain(double number)
throws IOException
- Throws:
IOException
print
public void print(Object object)
throws IOException
- Throws:
IOException
println
public void println(Object object)
throws IOException
- Throws:
IOException
printPlain
public void printPlain(Object object)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.