|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.render.rtf.rtflib.tools.ImageUtil
public final class ImageUtil
Miscellaneous utilities for images handling.
This class belongs to the
This work was authored by Andreas Putz (a.putz@skynamics.com).
| Method Summary | |
|---|---|
static boolean |
compareHexValues(byte[] pattern,
byte[] data,
int searchAt,
boolean searchForward)
Compares two hexadecimal values. |
static int |
getInt(java.lang.String value)
Determines the digits from a string. |
static int |
getIntFromByteArray(byte[] data,
int startAt,
int length,
boolean searchForward)
Determines a integer value from a hexadecimal byte array. |
static boolean |
isPercent(java.lang.String value)
Checks the string for percent character at the end of string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int getInt(java.lang.String value)
value - String with digits
public static boolean isPercent(java.lang.String value)
value - String with digits
public static boolean compareHexValues(byte[] pattern,
byte[] data,
int searchAt,
boolean searchForward)
pattern - Targetdata - DatasearchAt - Position to start comparesearchForward - Direction to compare byte arrays
public static int getIntFromByteArray(byte[] data,
int startAt,
int length,
boolean searchForward)
data - ImagestartAt - Start index to read fromlength - Number of data elements to readsearchForward - True if searching forward, False if not (??)
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||