|
||||||||||
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
org.acm.seguin.ide.elixir.ElixirPrettyPrinter
public class ElixirPrettyPrinter
Pretty printer for the elixir editor.
Constructor Summary | |
---|---|
ElixirPrettyPrinter()
Create an ElixirPrettyPrinter object |
Method Summary | |
---|---|
protected int |
getLineNumber()
Returns the initial line number |
protected java.lang.String |
getOutputBuffer()
Get the output buffer |
protected java.lang.String |
getStringFromIDE()
Gets the initial string from the IDE |
static void |
prettyPrint()
Reformats the current source code |
static void |
prettyPrintConfig()
Description of the Method |
java.lang.String |
removeCR(java.lang.String input)
Remove \r from buffer |
protected void |
setLineNumber(int value)
Sets the line number |
protected void |
setStringInIDE(java.lang.String value)
Sets the string in the IDE |
Methods inherited from class org.acm.seguin.pretty.PrettyPrintFromIDE |
---|
getPrintData, prettyPrintCurrentWindow |
Methods inherited from class org.acm.seguin.pretty.PrettyPrintString |
---|
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 ElixirPrettyPrinter()
Method Detail |
---|
protected void setLineNumber(int value)
setLineNumber
in class PrettyPrintFromIDE
value
- The new LineNumber valueprotected void setStringInIDE(java.lang.String value)
setStringInIDE
in class PrettyPrintFromIDE
value
- The new file contained in a stringprotected int getLineNumber()
getLineNumber
in class PrettyPrintFromIDE
protected java.lang.String getOutputBuffer()
getOutputBuffer
in class PrettyPrintString
protected java.lang.String getStringFromIDE()
getStringFromIDE
in class PrettyPrintFromIDE
public static void prettyPrint()
public static void prettyPrintConfig()
public java.lang.String removeCR(java.lang.String input)
input
- Description of Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |