Package gnu.kawa.functions
Class LispFormat
- java.lang.Object
-
- java.text.Format
-
- gnu.kawa.format.ReportFormat
-
- gnu.kawa.format.CompoundFormat
-
- gnu.kawa.functions.LispFormat
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class LispFormat extends gnu.kawa.format.CompoundFormat
A representation of a parsed Common Lisp-style format.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.text.Format
Format.Field
-
-
Field Summary
Fields Modifier and Type Field Description static String
paramFromCount
static String
paramFromList
static String
paramUnspecified
-
Constructor Summary
Constructors Constructor Description LispFormat(char[] format)
LispFormat(char[] format, int offset, int length)
LispFormat(String str)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object[]
asArray(Object arg)
Convert sequence (or Object[]) to Object[].static int
getParam(Vector vec, int index)
-
Methods inherited from class gnu.kawa.format.ReportFormat
format, format, format, format, getParam, getParam, getParam, nextArg, print, print, result, resultCode
-
Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
-
-
-
-
Field Detail
-
paramFromList
public static final String paramFromList
- See Also:
- Constant Field Values
-
paramFromCount
public static final String paramFromCount
- See Also:
- Constant Field Values
-
paramUnspecified
public static final String paramUnspecified
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LispFormat
public LispFormat(char[] format, int offset, int length) throws ParseException
- Throws:
ParseException
-
LispFormat
public LispFormat(String str) throws ParseException
- Throws:
ParseException
-
LispFormat
public LispFormat(char[] format) throws ParseException
- Throws:
ParseException
-
-