All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.ibm.as400.ui.framework.java.DataFormatter | +----com.ibm.as400.ui.util.AS400Formatter | +----com.ibm.as400.ui.util.AS400SnameFormatter
*SNAME
.
Checks using the CCSID of the AS/400 specified in the constructor.
If parsing is unsuccessful, an IllegalUserDataException
is thrown.
An AS/400 *SNAME
is also known as a Simple Name.
A valid Simple Name is:
*SNAME
is the same as *NAME
except quoted values and '.' are not allowed.
AS400NameIBMFormatter
is the same as AS400NameFormatter
,
but limited to 10 characters.
AS400SnameFormatter
.
*SNAME
.
public AS400SnameFormatter(AS400 systemObject)
AS400SnameFormatter
.
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.
AS400
object.
public Object parse(String source) throws IllegalUserDataException
*SNAME
.
If the string is not valid an IllegalUserDataException
is thrown.
All Packages Class Hierarchy This Package Previous Next Index