public class PBCosString extends PBCosObject
| Modifier and Type | Field and Description |
|---|---|
static String |
COS_STRING_TYPE
Type name for PBCosString
|
baseObject, MAX_NUMBER_OF_ELEMENTS| 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
|
getFromValuepublic static final String COS_STRING_TYPE
public PBCosString(COSString cosString)
cosString - pdfbox COSStringprotected PBCosString(COSString cosString,
String type)
public String getvalue()
public Boolean getisHex()
public Boolean getcontainsOnlyHex()
public Long gethexCount()
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.