public class PBCosString extends PBCosObject implements CosString
| Modifier and Type | Field and Description |
|---|---|
static String |
COS_STRING_TYPE
Type name for PBCosString
|
baseObject, MAX_NUMBER_OF_ELEMENTScontextDependent| Modifier | Constructor and Description |
|---|---|
|
PBCosString(COSString cosString)
Default constructor
|
protected |
PBCosString(COSString cosString,
String type) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getcontainsOnlyHex()
true if all symbols below range 0-9,a-f,A-F
|
Long |
gethexCount()
contains original hexa string length
|
Boolean |
getisHex()
true if the string is stored in Hex format
|
String |
getvalue()
Get Unicode string value stored in the PDF object
|
getFromValuegetID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentpublic static final String COS_STRING_TYPE
public PBCosString(COSString cosString)
cosString - pdfbox COSStringpublic String getvalue()
public Boolean getisHex()
public Boolean getcontainsOnlyHex()
getcontainsOnlyHex in interface CosStringpublic Long gethexCount()
gethexCount in interface CosStringCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.