FreeHEP API
Version current

org.freehep.graphicsio.pdf
Class PDFByteWriter

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended byorg.freehep.util.io.CountedByteOutputStream
              extended byorg.freehep.graphicsio.pdf.PDFByteWriter
All Implemented Interfaces:
PDFConstants

public class PDFByteWriter
extends 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,v 1.1 2001/11/29 01:45:29 duns Exp $
Author:
Mark Donszelmann
Source Code:
PDFByteWriter.java

Field Summary
 
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
 
Method Summary
 void close()
           
 void indent()
           
 void outdent()
           
 void print(double number)
           
 void print(int number)
           
 void print(Object object)
           
 void print(String string)
           
 void println()
           
 void println(double number)
           
 void println(int number)
           
 void println(Object object)
           
 void println(String string)
           
 void printPlain(double number)
           
 void printPlain(int number)
           
 void printPlain(Object object)
           
 void printPlain(String string)
           
 void write(String s)
           
 
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
 

Method Detail

write

public void write(String s)
           throws IOException
Throws:
IOException

close

public void close()
           throws IOException
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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.