|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fontbox.cmap.CodespaceRange
public class CodespaceRange
This represents a single entry in the codespace range.
| Constructor Summary | |
|---|---|
CodespaceRange()
Creates a new instance of CodespaceRange. |
|
| Method Summary | |
|---|---|
byte[] |
getEnd()
Getter for property end. |
byte[] |
getStart()
Getter for property start. |
boolean |
isInRange(byte[] code,
int offset,
int length)
Check whether the given byte array is in this codespace range or ot. |
void |
setEnd(byte[] endBytes)
Setter for property end. |
void |
setStart(byte[] startBytes)
Setter for property start. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CodespaceRange()
| Method Detail |
|---|
public byte[] getEnd()
public void setEnd(byte[] endBytes)
endBytes - New value of property end.public byte[] getStart()
public void setStart(byte[] startBytes)
startBytes - New value of property start.
public boolean isInRange(byte[] code,
int offset,
int length)
code - The byte array to look for in the codespace range.offset - The starting offset within the byte array.length - The length of the part of the array.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||