|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openoffice.xmerge.converter.palm.PdbUtil
Contains common static methods and constants for use within the package.
Constructor Summary | |
PdbUtil()
|
Method Summary | |
static int |
intID(java.lang.String s)
This method converts a 4 letter string into the Palm ID integer. |
static java.lang.String |
stringID(int i)
This method converts an integer into a String
given the Palm ID format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PdbUtil()
Method Detail |
public static int intID(java.lang.String s)
This method converts a 4 letter string into the Palm ID integer.
It is normally used to convert the Palm creator ID string into the integer version of it. Also use for data types, etc.
s
- Four character String
.String
.java.lang.ArrayIndexOutOfBoundsException
- If String
parameter contains less than four characters.public static java.lang.String stringID(int i)
String
given the Palm ID format.i
- Palm ID.String
representation.
|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |