StringIndexDataProvider
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.font.ICffIndexDataProvider
public abstract class StringIndexDataProvider implements ICffIndexDataProvider
Declares functionality to access CFF String INDEX structure.
Constructors
Constructor | Description |
---|---|
StringIndexDataProvider() |
Methods
Method | Description |
---|---|
addString(String value) | Adds string into CFF String INDEX structure. |
equals(Object arg0) | |
get(int index) | Gets/sets string at the specified index. |
getClass() | |
getCount() | The number of objects in the CFF INDEX structure. |
getRawBytes() | Gets all the bytes of the CFF INDEX structure. |
getString(int index) | Gets string at the specified index from CFF String INDEX structure. |
hashCode() | |
notify() | |
notifyAll() | |
removeString(int index) | Removes string from CFF String Index structure at the specified index. |
set(int index, String value) | |
setString(String value, int index) | Sets string in the CFF String Index structure at the specified index. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
StringIndexDataProvider()
public StringIndexDataProvider()
addString(String value)
public abstract void addString(String value)
Adds string into CFF String INDEX structure.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | String value |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
get(int index)
public abstract String get(int index)
Gets/sets string at the specified index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of string, index means an ordinal number at CFF INDEX structure, not SID |
Returns: java.lang.String - String
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCount()
public abstract int getCount()
The number of objects in the CFF INDEX structure.
Returns: int
getRawBytes()
public abstract byte[] getRawBytes()
Gets all the bytes of the CFF INDEX structure.
Returns: byte[] - Bytes of the CFF INDEX structure
getString(int index)
public abstract String getString(int index)
Gets string at the specified index from CFF String INDEX structure.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of string, index means ordinal number in CFF INDEX structure, not SID |
Returns: java.lang.String - String
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeString(int index)
public abstract void removeString(int index)
Removes string from CFF String Index structure at the specified index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of string, index means an ordinal number at CFF INDEX structure, not SID |
set(int index, String value)
public abstract void set(int index, String value)
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | |
value | java.lang.String |
setString(String value, int index)
public abstract void setString(String value, int index)
Sets string in the CFF String Index structure at the specified index.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | String value |
index | int | Index of string, index means ordinal number in CFF INDEX structure, not SID |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |