org.docx4j.samples
Class CreatePdf

java.lang.Object
  extended by org.docx4j.samples.CreatePdf

public class CreatePdf
extends java.lang.Object


Constructor Summary
CreatePdf()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static java.io.OutputStream newOutputStream(java.nio.ByteBuffer buf)
          Returns an output stream for a ByteBuffer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreatePdf

public CreatePdf()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

newOutputStream

public static java.io.OutputStream newOutputStream(java.nio.ByteBuffer buf)
Returns an output stream for a ByteBuffer. The write() methods use the relative ByteBuffer put() methods. From http://exampledepot.com/egs/java.nio/Buffer2Stream.html

Parameters:
buf -
Returns: