gnu.kawa.functions
Class ParseFormat

java.lang.Object
  extended by gnu.mapping.PropertySet
      extended by gnu.mapping.Procedure
          extended by gnu.mapping.Procedure1
              extended by gnu.kawa.functions.ParseFormat
All Implemented Interfaces:
Named

public class ParseFormat
extends Procedure1


Field Summary
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
           
 
Constructor Summary
ParseFormat(boolean emacsStyle)
           
 
Method Summary
 java.lang.Object apply1(java.lang.Object arg)
           
static ReportFormat asFormat(java.lang.Object arg, char style)
           
 ReportFormat parseFormat(LineBufferedReader fmt)
           
static ReportFormat parseFormat(LineBufferedReader fmt, char magic)
           
 
Methods inherited from class gnu.mapping.Procedure1
apply0, apply2, apply3, apply4, applyN, numArgs
 
Methods inherited from class gnu.mapping.Procedure
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getSetter, getSourceLocation, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
 
Methods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

ParseFormat

public ParseFormat(boolean emacsStyle)
Method Detail

parseFormat

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

parseFormat

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

apply1

public java.lang.Object apply1(java.lang.Object arg)
Specified by:
apply1 in class Procedure1

asFormat

public static ReportFormat asFormat(java.lang.Object arg,
                                    char style)