Package gnu.kawa.functions
Class ParseFormat
- java.lang.Object
-
- gnu.mapping.PropertySet
-
- gnu.mapping.Procedure
-
- gnu.mapping.Procedure1
-
- gnu.kawa.functions.ParseFormat
-
- All Implemented Interfaces:
Named
public class ParseFormat extends Procedure1
-
-
Field Summary
Fields Modifier and Type Field Description static int
PARAM_FROM_LIST
static int
PARAM_UNSPECIFIED
static ParseFormat
parseFormat
static int
SEEN_HASH
static int
SEEN_MINUS
static int
SEEN_PLUS
static int
SEEN_SPACE
static int
SEEN_ZERO
-
Fields inherited from class gnu.mapping.Procedure1
applyToObject
-
Fields inherited from class gnu.mapping.Procedure
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
-
Fields inherited from class gnu.mapping.PropertySet
nameKey
-
-
Constructor Summary
Constructors Constructor Description ParseFormat(boolean emacsStyle)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
apply1(Object arg)
static gnu.kawa.format.ReportFormat
asFormat(Object arg, char style)
gnu.kawa.format.ReportFormat
parseFormat(gnu.kawa.io.InPort fmt)
static gnu.kawa.format.ReportFormat
parseFormat(gnu.kawa.io.InPort fmt, char magic)
-
Methods inherited from class gnu.mapping.Procedure1
apply0, apply2, apply3, apply4, applyN, applyToObject, numArgs
-
Methods inherited from class gnu.mapping.Procedure
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
-
Methods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
-
-
-
-
Field Detail
-
parseFormat
public static final ParseFormat parseFormat
-
PARAM_UNSPECIFIED
public static final int PARAM_UNSPECIFIED
- See Also:
- Constant Field Values
-
PARAM_FROM_LIST
public static final int PARAM_FROM_LIST
- See Also:
- Constant Field Values
-
SEEN_MINUS
public static final int SEEN_MINUS
- See Also:
- Constant Field Values
-
SEEN_PLUS
public static final int SEEN_PLUS
- See Also:
- Constant Field Values
-
SEEN_SPACE
public static final int SEEN_SPACE
- See Also:
- Constant Field Values
-
SEEN_ZERO
public static final int SEEN_ZERO
- See Also:
- Constant Field Values
-
SEEN_HASH
public static final int SEEN_HASH
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseFormat
public gnu.kawa.format.ReportFormat parseFormat(gnu.kawa.io.InPort fmt) throws ParseException, IOException
- Throws:
ParseException
IOException
-
parseFormat
public static gnu.kawa.format.ReportFormat parseFormat(gnu.kawa.io.InPort fmt, char magic) throws ParseException, IOException
- Throws:
ParseException
IOException
-
apply1
public Object apply1(Object arg)
- Specified by:
apply1
in classProcedure1
-
asFormat
public static gnu.kawa.format.ReportFormat asFormat(Object arg, char style)
-
-