Gnostice PDFOne
Pro. Ed. v1.41


com.gnostice.pdfone
Class PdfString

java.lang.Object
  extended bycom.gnostice.pdfone.PdfObject
      extended bycom.gnostice.pdfone.PdfString
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
PdfTextString

public class PdfString
extends PdfObject


Constructor Summary
PdfString(String s)
           
PdfString(String s, boolean isHex)
           
 
Method Summary
 Object clone()
           
static ByteBuffer encode(String s)
           
 boolean equals(Object obj)
           
static String fromBytes(byte[] bytes)
           
 String getString()
           
 int hashCode()
           
static PdfString parse(CharBuffer cb)
           
static PdfString parse(CharBuffer cb, PdfEncryption e)
           
static byte[] toBytes(String text)
           
 
Methods inherited from class com.gnostice.pdfone.PdfObject
getGenerationNumber, getObjectNumber, setGenerationNumber, setObjectNumber, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfString

public PdfString(String s)

PdfString

public PdfString(String s,
                 boolean isHex)
Method Detail

hashCode

public int hashCode()

clone

public Object clone()
Overrides:
clone in class PdfObject

equals

public boolean equals(Object obj)

getString

public String getString()

parse

public static PdfString parse(CharBuffer cb)
                       throws PdfException
Throws:
PdfException

parse

public static PdfString parse(CharBuffer cb,
                              PdfEncryption e)
                       throws IOException,
                              PdfException
Throws:
IOException
PdfException

encode

public static ByteBuffer encode(String s)

toBytes

public static final byte[] toBytes(String text)

fromBytes

public static String fromBytes(byte[] bytes)

Gnostice PDFOne
Pro. Ed. v1.41

To contact our support team, send an e-mail to support@gnostice.com.
 
© 2006 Gnostice Information Technologies Private Limited. All rights reserved.
www.gnostice.com