gnu.kawa.functions

Class ParseFormat

Implemented Interfaces:
Named

public class ParseFormat
extends Procedure1

Field Summary

static int
PARAM_FROM_LIST
static int
PARAM_UNSPECIFIED
static int
SEEN_HASH
static int
SEEN_MINUS
static int
SEEN_PLUS
static int
SEEN_SPACE
static int
SEEN_ZERO
static ParseFormat
parseFormat

Constructor Summary

ParseFormat(boolean emacsStyle)

Method Summary

Object
apply1(Object arg)
static ReportFormat
asFormat(Object arg, char style)
ReportFormat
parseFormat(LineBufferedReader fmt)
static ReportFormat
parseFormat(LineBufferedReader fmt, char magic)

Methods inherited from class gnu.mapping.Procedure1

apply0, apply1, apply2, apply3, apply4, applyN, numArgs

Methods inherited from class gnu.mapping.Procedure

apply, apply, apply0, apply1, apply2, apply3, apply4, applyN, check0, check1, check2, check3, check4, checkArgCount, checkN, getSetter, getSourceLocation, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, numArgs, set0, set1, setN, setSetter, setSourceLocation, toString

Methods inherited from class gnu.mapping.PropertySet

getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol

Field Details

PARAM_FROM_LIST

public static final int PARAM_FROM_LIST
Field Value:
-1610612736

PARAM_UNSPECIFIED

public static final int PARAM_UNSPECIFIED
Field Value:
-1073741824

SEEN_HASH

public static final int SEEN_HASH
Field Value:
16

SEEN_MINUS

public static final int SEEN_MINUS
Field Value:
1

SEEN_PLUS

public static final int SEEN_PLUS
Field Value:
2

SEEN_SPACE

public static final int SEEN_SPACE
Field Value:
4

SEEN_ZERO

public static final int SEEN_ZERO
Field Value:
8

parseFormat

public static final ParseFormat parseFormat

Constructor Details

ParseFormat

public ParseFormat(boolean emacsStyle)

Method Details

apply1

public Object apply1(Object arg)
Overrides:
apply1 in interface Procedure1

asFormat

public static ReportFormat asFormat(Object arg,
                                    char style)

parseFormat

public ReportFormat parseFormat(LineBufferedReader fmt)
            throws java.text.ParseException,
                   java.io.IOException

parseFormat

public static ReportFormat parseFormat(LineBufferedReader fmt,
                                       char magic)
            throws java.text.ParseException,
                   java.io.IOException