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 intPARAM_FROM_LISTstatic intPARAM_UNSPECIFIEDstatic ParseFormatparseFormatstatic intSEEN_HASHstatic intSEEN_MINUSstatic intSEEN_PLUSstatic intSEEN_SPACEstatic intSEEN_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 Objectapply1(Object arg)static gnu.kawa.format.ReportFormatasFormat(Object arg, char style)gnu.kawa.format.ReportFormatparseFormat(gnu.kawa.io.InPort fmt)static gnu.kawa.format.ReportFormatparseFormat(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:
ParseExceptionIOException
-
parseFormat
public static gnu.kawa.format.ReportFormat parseFormat(gnu.kawa.io.InPort fmt, char magic) throws ParseException, IOException- Throws:
ParseExceptionIOException
-
apply1
public Object apply1(Object arg)
- Specified by:
apply1in classProcedure1
-
asFormat
public static gnu.kawa.format.ReportFormat asFormat(Object arg, char style)
-
-