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:
- java.io.Closeable, java.io.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 class java.io.FilterOutputStream |
out |
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.io.FilterOutputStream |
flush |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
write
public void write(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.FilterOutputStream
- Throws:
java.io.IOException
print
public void print(java.lang.String string)
throws java.io.IOException
- Throws:
java.io.IOException
printPlain
public void printPlain(java.lang.String string)
throws java.io.IOException
- Throws:
java.io.IOException
println
public void println()
throws java.io.IOException
- Throws:
java.io.IOException
indent
public void indent()
outdent
public void outdent()
println
public void println(java.lang.String string)
throws java.io.IOException
- Throws:
java.io.IOException
print
public void print(int number)
throws java.io.IOException
- Throws:
java.io.IOException
println
public void println(int number)
throws java.io.IOException
- Throws:
java.io.IOException
printPlain
public void printPlain(int number)
throws java.io.IOException
- Throws:
java.io.IOException
print
public void print(double number)
throws java.io.IOException
- Throws:
java.io.IOException
println
public void println(double number)
throws java.io.IOException
- Throws:
java.io.IOException
printPlain
public void printPlain(double number)
throws java.io.IOException
- Throws:
java.io.IOException
print
public void print(java.lang.Object object)
throws java.io.IOException
- Throws:
java.io.IOException
println
public void println(java.lang.Object object)
throws java.io.IOException
- Throws:
java.io.IOException
printPlain
public void printPlain(java.lang.Object object)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2000-2007 FreeHEP. All Rights Reserved.