gnu.kawa.functions
Class LispFormat
java.lang.Object
java.text.Format
gnu.text.ReportFormat
gnu.text.CompoundFormat
gnu.kawa.functions.LispFormat
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class LispFormat
- extends CompoundFormat
A representation of a parsed Common Lisp-style format.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.text.Format |
java.text.Format.Field |
Method Summary |
static java.lang.Object[] |
asArray(java.lang.Object arg)
Convert sequence (or Object[]) to Object[]. |
static int |
getParam(java.util.Vector vec,
int index)
|
Methods inherited from class gnu.text.ReportFormat |
format, format, format, format, getParam, getParam, getParam, nextArg, print, result, resultCode |
Methods inherited from class java.text.Format |
clone, format, formatToCharacterIterator, parseObject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
paramFromList
public static final java.lang.String paramFromList
- See Also:
- Constant Field Values
paramFromCount
public static final java.lang.String paramFromCount
- See Also:
- Constant Field Values
paramUnspecified
public static final java.lang.String paramUnspecified
- See Also:
- Constant Field Values
LispFormat
public LispFormat(char[] format,
int offset,
int length)
throws java.text.ParseException
- Throws:
java.text.ParseException
LispFormat
public LispFormat(java.lang.String str)
throws java.text.ParseException
- Throws:
java.text.ParseException
LispFormat
public LispFormat(char[] format)
throws java.text.ParseException
- Throws:
java.text.ParseException
getParam
public static int getParam(java.util.Vector vec,
int index)
asArray
public static java.lang.Object[] asArray(java.lang.Object arg)
- Convert sequence (or Object[]) to Object[].
Return null if not a valid Sequence.