Save This Page
Home » pdfbox-1.1.0-src » org.apache.fontbox.cff » [javadoc | source]
org.apache.fontbox.cff
public class: DataOutput [javadoc | source]
java.lang.Object
   org.apache.fontbox.cff.DataOutput
Constructor:
 public DataOutput() 
 public DataOutput(String encoding) 
    Constructor with a given encoding.
    Parameters:
    encoding - the encoding to be used for writing
Method from org.apache.fontbox.cff.DataOutput Summary:
getBytes,   print,   println,   println,   write,   write,   write
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.fontbox.cff.DataOutput Detail:
 public byte[] getBytes() 
    Returns the written data buffer as byte array.
 public  void print(String string) throws IOException 
    Write the given string to the buffer using the given encoding.
 public  void println() 
    Add a newline to the given string.
 public  void println(String string) throws IOException 
    Write the given string to the buffer using the given encoding. A newline is added after the given string
 public  void write(int value) 
    Write an int value to the buffer.
 public  void write(byte[] buffer) 
    Write a byte array to the buffer.
 public  void write(byte[] buffer,
    int offset,
    int length) 
    Write a part of a byte array to the buffer.