|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.accpac.sm.A4wapi
@ThreadSafe public final class A4wapi
The a4wapi
class is a core class providing low level
functionality for interfacing between the Accpac formats of information and
the Java formats.
StringEncoder
,
StringDecoder
Constructor Summary | |
---|---|
A4wapi()
|
Method Summary | |
---|---|
static boolean |
booleanOfString(java.lang.String s)
Return a boolean value representing the string argument, with positive control. |
static int |
utlObjStrToID(java.lang.String s)
convert the given string format roto object id to its integer form, throwing exceptions if it is not valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public A4wapi()
Method Detail |
---|
public static int utlObjStrToID(java.lang.String s)
The calculation is as in the C function utlObjStrToID
s
- the string format roto object id (which can be in upper or lower
or mixed case and can be untrimmed)
java.lang.NullPointerException
- if the string argument is actually a null reference
java.lang.IllegalArgumentException
- if the string format roto object id is invalid in some other
way than being a null reference.public static boolean booleanOfString(java.lang.String s)
s
- the string to convert to boolean
java.lang.NullPointerException
- if the argument is a null pointer
java.lang.IllegalArgumentException
- if the argument is not recognised as a boolean value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |