org.jclarion.clarion.print
Class PDFFile

java.lang.Object
  extended by org.jclarion.clarion.ClarionRandomAccessFile
      extended by org.jclarion.clarion.print.PDFFile

public class PDFFile
extends ClarionRandomAccessFile


Constructor Summary
PDFFile(ClarionReport r)
           
PDFFile(java.lang.String file)
           
 
Method Summary
 void close()
           
 void generate(OpenReport or, PageBook book)
           
 java.lang.String getName()
           
 byte[] getPDFFile()
           
 long length()
           
 long position()
           
 int read(byte[] get_buffer, int ofs, int len)
           
static void save(ClarionReport r, java.lang.String out)
           
 void seek(long l)
           
 void write(byte[] bytes, int i, int size)
           
 
Methods inherited from class org.jclarion.clarion.ClarionRandomAccessFile
getCharFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFFile

public PDFFile(ClarionReport r)

PDFFile

public PDFFile(java.lang.String file)
Method Detail

save

public static void save(ClarionReport r,
                        java.lang.String out)

generate

public void generate(OpenReport or,
                     PageBook book)

close

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

length

public long length()
            throws java.io.IOException
Specified by:
length in class ClarionRandomAccessFile
Throws:
java.io.IOException

read

public int read(byte[] get_buffer,
                int ofs,
                int len)
         throws java.io.IOException
Specified by:
read in class ClarionRandomAccessFile
Throws:
java.io.IOException

seek

public void seek(long l)
          throws java.io.IOException
Specified by:
seek in class ClarionRandomAccessFile
Throws:
java.io.IOException

write

public void write(byte[] bytes,
                  int i,
                  int size)
           throws java.io.IOException
Specified by:
write in class ClarionRandomAccessFile
Throws:
java.io.IOException

getPDFFile

public byte[] getPDFFile()

getName

public java.lang.String getName()
Specified by:
getName in class ClarionRandomAccessFile

position

public long position()
              throws java.io.IOException
Specified by:
position in class ClarionRandomAccessFile
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.