|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evanmclean.evlib.escape.EscCsv
public final class EscCsv
Makes a string safe to use as a field within a comma separated (CSV) file.
Basically encapsulates the string in a pair of double-quotes if the string contains any of the following:
Method Summary | |
---|---|
String |
text(Object obj)
Makes a string safe to use as a field within a comma separated (CSV) file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String text(Object obj)
Makes a string safe to use as a field within a comma separated (CSV) file.
obj
-
null
if obj
was null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |