|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.ui.framework.java.DataFormatter | +--com.ibm.as400.ui.util.AS400Formatter | +--com.ibm.as400.ui.util.AS400SQLNameFormatter
Checks validity of a string as an AS/400 SQL identifier.
A valid SQL Name is:
SQL Name is the same as *NAME
except '.' is not allowed and length is limited to 128 (or 130) characters.
IllegalUserDataException
,
AS400NameFormatter
,
AS400SnameFormatter
,
AS400CnameFormatter
,
AS400CharFormatter
,
AS400SQLNameColumnFormatter
Fields inherited from class com.ibm.as400.ui.util.AS400Formatter |
ALLOW_EMBEDDED_WILD_CARDS, ALLOW_TRAILING_WILD_CARD, IBM_OBJECT_NAME_MAX_LENGTH, NO_WILD_CARDS, STANDARD_OBJECT_NAME_MAX_LENGTH |
Constructor Summary | |
AS400SQLNameFormatter(AS400 system)
Constructs an AS400SQLNameFormatter . |
Method Summary | |
java.lang.Object |
parse(java.lang.String source)
Parses and checks a string as a valid AS/400 SQL Name. |
Methods inherited from class com.ibm.as400.ui.util.AS400Formatter |
getCCSID, getWildCardMode, isAllowedWildCard, isValidEbcdicAlpha, setCCSID, setWildCardMode |
Methods inherited from class com.ibm.as400.ui.framework.java.DataFormatter |
format |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AS400SQLNameFormatter(AS400 system)
AS400SQLNameFormatter
.
The CCSID of the input AS400
object will be used for checking.
If a null AS400
object is used, 37 is used as a default CCSID.system
- an AS400
object.Method Detail |
public java.lang.Object parse(java.lang.String source) throws IllegalUserDataException
IllegalUserDataException
is thrown.parse
in class DataFormatter
source
- the string to be parsed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |