public class COSString extends COSDirect
| Constructor and Description |
|---|
COSString() |
COSString(byte[] value) |
COSString(byte[] value,
boolean isHex) |
COSString(byte[] value,
boolean isHex,
long hexCount,
boolean containsOnlyHex) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(ICOSVisitor visitor) |
void |
accept(IVisitor visitor) |
static COSObject |
construct(byte[] initValue) |
static COSObject |
construct(byte[] initValue,
boolean isHex) |
static COSObject |
construct(byte[] initValue,
boolean isHex,
long hexCount,
boolean containsOnlyHex) |
boolean |
equals(Object o) |
byte[] |
get() |
long |
getHexCount() |
String |
getHexString() |
Long |
getInteger() |
String |
getLitString() |
String |
getPrintableString() |
Double |
getReal() |
String |
getString() |
COSObjType |
getType() |
int |
hashCode() |
boolean |
isContainsOnlyHex() |
boolean |
isHexadecimal() |
boolean |
isLiteral() |
void |
set(byte[] value) |
void |
setContainsOnlyHex(boolean containsOnlyHex) |
void |
setHex(boolean hex) |
void |
setHexCount(long hexCount) |
void |
setString(byte[] value,
boolean isHex) |
boolean |
setString(String value) |
protected String |
toHexString() |
protected String |
toLitString() |
String |
toString() |
add, at, clearArray, getBoolean, getBooleanKey, getData, getData, getDirect, getDirectBase, getDocument, getIntegerKey, getKey, getKey, getKeySet, getName, getNameKey, getRealKey, getRealStreamSize, getStringKey, getValues, insert, isEndstreamKeywordCRLFCompliant, isIndirect, isStreamKeywordCRLFCompliant, knownKey, mark, remove, removeKey, set, setArray, setArray, setArray, setArrayKey, setArrayKey, setArrayKey, setArrayKey, setBoolean, setBooleanKey, setData, setData, setDirect, setEndstreamKeywordCRLFCompliant, setInteger, setIntegerKey, setKey, setKey, setName, setNameKey, setReal, setRealKey, setRealStreamSize, setStreamKeywordCRLFCompliant, setString, setStringKey, sizegetObjectKey, setObjectKeypublic COSString()
public COSString(byte[] value)
public COSString(byte[] value,
boolean isHex)
public COSString(byte[] value,
boolean isHex,
long hexCount,
boolean containsOnlyHex)
public static COSObject construct(byte[] initValue)
public static COSObject construct(byte[] initValue, boolean isHex)
public static COSObject construct(byte[] initValue, boolean isHex, long hexCount, boolean containsOnlyHex)
public Object accept(ICOSVisitor visitor)
public COSObjType getType()
public Long getInteger()
getInteger in class COSDirectpublic void setHex(boolean hex)
public void setString(byte[] value,
boolean isHex)
public byte[] get()
public void set(byte[] value)
public boolean isLiteral()
public boolean isHexadecimal()
public String getHexString()
protected String toHexString()
protected String toLitString()
public String getLitString()
public String getPrintableString()
public boolean isContainsOnlyHex()
public void setContainsOnlyHex(boolean containsOnlyHex)
public long getHexCount()
public void setHexCount(long hexCount)
Copyright © 2015–2018 The veraPDF Consortium. All rights reserved.