appli.diff
Class AStyle

java.lang.Object
  extended byappli.diff.AStyle

public class AStyle
extends java.lang.Object


Field Summary
private static boolean _modeManuallySet
           
private static java.lang.String _suffix
           
private static java.lang.String _version
           
private static java.io.PrintStream errout
           
private static boolean keepEmptyLines
           
 
Constructor Summary
AStyle()
           
 
Method Summary
private static void error(java.lang.String why, java.lang.String what)
           
private static java.lang.String GET_PARAM(java.lang.String arg, java.lang.String op)
           
private static java.lang.String GET_PARAMS(java.lang.String arg, java.lang.String op1, java.lang.String op2)
           
private static java.util.Vector importOptions(java.io.BufferedReader in, java.util.Vector optionsVector)
           
private static boolean IS_OPTION(java.lang.String arg, java.lang.String opt)
           
private static boolean IS_OPTION(java.lang.String arg, java.lang.String opt1, java.lang.String opt2)
           
private static boolean IS_PARAM_OPTION(java.lang.String arg, java.lang.String opt)
           
private static boolean IS_PARAM_OPTIONS(java.lang.String arg, java.lang.String opt1, java.lang.String opt2)
           
static void main(java.lang.String[] args)
           
private static void manuallySetCStyle(ASFormatter formatter)
           
private static void manuallySetJavaStyle(ASFormatter formatter)
           
private static boolean parseOption(ASFormatter formatter, java.lang.String arg, java.lang.String errorInfo)
           
static boolean parseOptions(ASFormatter formatter, java.util.Vector optVector, java.lang.String errorInfo)
           
private static void printHelp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_version

private static final java.lang.String _version
See Also:
Constant Field Values

errout

private static java.io.PrintStream errout

_suffix

private static java.lang.String _suffix

_modeManuallySet

private static boolean _modeManuallySet

keepEmptyLines

private static boolean keepEmptyLines
Constructor Detail

AStyle

public AStyle()
Method Detail

error

private static void error(java.lang.String why,
                          java.lang.String what)

manuallySetJavaStyle

private static void manuallySetJavaStyle(ASFormatter formatter)

manuallySetCStyle

private static void manuallySetCStyle(ASFormatter formatter)

parseOptions

public static boolean parseOptions(ASFormatter formatter,
                                   java.util.Vector optVector,
                                   java.lang.String errorInfo)

parseOption

private static boolean parseOption(ASFormatter formatter,
                                   java.lang.String arg,
                                   java.lang.String errorInfo)

importOptions

private static java.util.Vector importOptions(java.io.BufferedReader in,
                                              java.util.Vector optionsVector)
                                       throws java.io.IOException
Throws:
java.io.IOException

printHelp

private static void printHelp()

main

public static void main(java.lang.String[] args)

IS_PARAM_OPTION

private static boolean IS_PARAM_OPTION(java.lang.String arg,
                                       java.lang.String opt)

IS_PARAM_OPTIONS

private static boolean IS_PARAM_OPTIONS(java.lang.String arg,
                                        java.lang.String opt1,
                                        java.lang.String opt2)

IS_OPTION

private static boolean IS_OPTION(java.lang.String arg,
                                 java.lang.String opt)

IS_OPTION

private static boolean IS_OPTION(java.lang.String arg,
                                 java.lang.String opt1,
                                 java.lang.String opt2)

GET_PARAM

private static java.lang.String GET_PARAM(java.lang.String arg,
                                          java.lang.String op)

GET_PARAMS

private static java.lang.String GET_PARAMS(java.lang.String arg,
                                           java.lang.String op1,
                                           java.lang.String op2)