|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.tools.stub.StubFile
public class StubFile
Holds a refactoring. Default version just pretty prints the file.
Constructor Summary | |
---|---|
StubFile(java.lang.String init,
java.io.File file)
Refactors java code. |
Method Summary | |
---|---|
void |
apply(java.io.File inputFile)
Create the stub for this file |
void |
apply(java.io.Reader inputStream,
java.lang.String filename)
Create the stub for this file |
void |
done()
Close the file and note that we have completed this operation |
protected java.io.Writer |
getOutputStream(java.io.File file)
Create the output stream |
net.sourceforge.jrefactory.factory.ParserFactory |
getParserFactory()
Return the factory that gets the abstract syntax trees |
void |
setParserFactory(net.sourceforge.jrefactory.factory.ParserFactory factory)
Set the parser factory |
static void |
waitForCreation()
Wait while this is being created |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StubFile(java.lang.String init, java.io.File file)
init
- Description of Parameterfile
- Description of ParameterMethod Detail |
---|
public void setParserFactory(net.sourceforge.jrefactory.factory.ParserFactory factory)
factory
- Description of Parameterpublic net.sourceforge.jrefactory.factory.ParserFactory getParserFactory()
public void apply(java.io.File inputFile)
inputFile
- the input filepublic void apply(java.io.Reader inputStream, java.lang.String filename)
inputStream
- the input streamfilename
- the name of the file contained by the input streampublic void done()
protected java.io.Writer getOutputStream(java.io.File file)
file
- the name of the file
public static void waitForCreation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |