|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acm.seguin.pretty.PrettyPrintFile
org.acm.seguin.pretty.PrettyPrintString
org.acm.seguin.pretty.PrettyPrintFromIDE
public abstract class PrettyPrintFromIDE
Pretty print the source code based on the IDE
| Constructor Summary | |
|---|---|
PrettyPrintFromIDE()
|
|
| Method Summary | |
|---|---|
protected abstract int |
getLineNumber()
Returns the initial line number |
protected PrintData |
getPrintData(java.io.File input)
Return the appropriate print data |
protected abstract java.lang.String |
getStringFromIDE()
Gets the initial string from the IDE |
void |
prettyPrintCurrentWindow()
Reformat the source code in the current window |
protected abstract void |
setLineNumber(int value)
Sets the line number |
protected abstract void |
setStringInIDE(java.lang.String value)
Sets the string in the IDE |
| Methods inherited from class org.acm.seguin.pretty.PrettyPrintString |
|---|
getOutputBuffer, getWriter, resetOutputBuffer, setInputString |
| Methods inherited from class org.acm.seguin.pretty.PrettyPrintFile |
|---|
apply, apply, getParserFactory, isApplicable, postApply, setAsk, setParserFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrettyPrintFromIDE()
| Method Detail |
|---|
public void prettyPrintCurrentWindow()
protected abstract void setStringInIDE(java.lang.String value)
value - The new file contained in a stringprotected abstract void setLineNumber(int value)
value - The new LineNumber valueprotected abstract java.lang.String getStringFromIDE()
protected PrintData getPrintData(java.io.File input)
getPrintData in class PrettyPrintFileinput - Description of Parameter
protected abstract int getLineNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||