|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ix.util.lisp.LispPrinter
public class LispPrinter
Converts objects to printed representations.
Constructor Summary | |
---|---|
LispPrinter()
|
Method Summary | |
---|---|
java.lang.String |
elementsToString(java.lang.Object a)
Returns a string containing the speficied object(s), converted to strings by calling printToString(Object) and with
a single space as the separator. |
boolean |
isFullyPrintable(java.lang.Object a)
|
int |
printLength(java.lang.Object a)
Returns the number of characters in the textual represpetation of an object. |
java.lang.String |
printToString(java.lang.Object a)
|
java.lang.String |
quotedAndEscaped(char quote,
java.lang.String s)
Adds quote marks around a string and escape sequences inside it. |
void |
setPrintUnprintablesUsingToString(boolean v)
|
void |
setStringForNil(java.lang.String s)
|
protected java.lang.String |
unprintableToString(java.lang.Object a)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LispPrinter()
Method Detail |
---|
public void setPrintUnprintablesUsingToString(boolean v)
public void setStringForNil(java.lang.String s)
public java.lang.String printToString(java.lang.Object a)
protected java.lang.String unprintableToString(java.lang.Object a)
public boolean isFullyPrintable(java.lang.Object a)
public java.lang.String elementsToString(java.lang.Object a)
printToString(Object)
and with
a single space as the separator.
public java.lang.String quotedAndEscaped(char quote, java.lang.String s)
public int printLength(java.lang.Object a)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |