net.damf.console.comperation.fileHandle
Class Formatte
java.lang.Object
net.damf.console.comperation.fileHandle.Formatte
- All Implemented Interfaces:
- Comperation
public class Formatte
- extends java.lang.Object
- implements Comperation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inited
private boolean inited
reader
private java.io.BufferedReader reader
writer
private java.io.BufferedWriter writer
c1
private java.util.ArrayList c1
tabsOut
private int tabsOut
onNewLine
private boolean onNewLine
ignoreSpace
private boolean ignoreSpace
ignoreSemicolon
private boolean ignoreSemicolon
doWrite
private boolean doWrite
cLastValid
private char cLastValid
c
private char c
NEW_LINE
private final char NEW_LINE
- See Also:
- Constant Field Values
SPACE
private final char SPACE
- See Also:
- Constant Field Values
TAB
private final char TAB
- See Also:
- Constant Field Values
Formatte
public Formatte()
Formatte
public Formatte(java.lang.String file)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
requiresCommand
public final boolean requiresCommand()
- Specified by:
requiresCommand
in interface Comperation
argumentsNeeded
public final int argumentsNeeded()
- Specified by:
argumentsNeeded
in interface Comperation
make
public java.lang.String[] make(java.lang.String[] param)
throws java.io.IOException
- Specified by:
make
in interface Comperation
- Throws:
java.io.IOException
giveFiles
public Comperation giveFiles(java.lang.String[] files)
throws java.io.IOException
- Specified by:
giveFiles
in interface Comperation
- Throws:
java.io.IOException
isInited
public boolean isInited()
- Specified by:
isInited
in interface Comperation
perform
public boolean perform()
throws java.io.IOException
- Specified by:
perform
in interface Comperation
- Throws:
java.io.IOException
handleIgnoreSpace
private void handleIgnoreSpace()
handleNewLine
private void handleNewLine(boolean forced)
handleOpenBracket
private void handleOpenBracket()
handleClosedBracket
private void handleClosedBracket()
performWrite
private void performWrite()
throws java.io.IOException
- Throws:
java.io.IOException