com.mindfusion.pdf
Class PdfWriter

java.lang.Object
  extended by java.io.Writer
      extended by com.mindfusion.pdf.PdfWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable

public class PdfWriter
extends java.io.Writer


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
PdfWriter(java.lang.String FilePath)
           
 
Method Summary
 void close()
           
 void flush()
           
 java.lang.Object getLock()
           
 long getPosition()
          Get the value of Position
 void setLock(java.lang.Object lock)
           
 void setPosition(long Position)
          Set the value of Position
 void write(byte[] data)
           
 void write(char[] cbuf, int off, int len)
           
 void write(IPdfSaver value)
           
 void write(java.lang.String data)
           
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfWriter

public PdfWriter(java.lang.String FilePath)
          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getPosition

public long getPosition()
Get the value of Position

Returns:
the value of Position

setPosition

public void setPosition(long Position)
Set the value of Position

Parameters:
Position - new value of Position

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Writer
Throws:
java.io.IOException

getLock

public java.lang.Object getLock()

setLock

public void setLock(java.lang.Object lock)

flush

public void flush()
           throws java.io.IOException
Specified by:
flush in interface java.io.Flushable
Specified by:
flush in class java.io.Writer
Throws:
java.io.IOException

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws java.io.IOException
Specified by:
write in class java.io.Writer
Throws:
java.io.IOException

write

public void write(java.lang.String data)
           throws java.io.IOException
Overrides:
write in class java.io.Writer
Throws:
java.io.IOException

write

public void write(IPdfSaver value)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] data)
           throws java.io.IOException
Throws:
java.io.IOException