| |
|
| java.lang.Object jimm.datavision.layout.LayoutEngine jimm.datavision.layout.SortedLayoutEngine jimm.datavision.layout.CharSepLE
CharSepLE | public class CharSepLE extends SortedLayoutEngine (Code) | | CharSepLE is a layout engine that outputs text data files.
Output is one line per row of data. Column data is separated by a
user-specified character.
author: Jim Menard, jimm@io.com |
first | protected boolean first(Code) | | |
sepChar | protected char sepChar(Code) | | |
CharSepLE | public CharSepLE(PrintWriter out, char sepChar)(Code) | | Constructor.
Parameters: out - the output writer Parameters: sepChar - the character used to separate column data |
asSafeSepString | protected String asSafeSepString(String str)(Code) | | Return a string that's safe to use in a comma-delimited data file.
Returns a new string with all double quotes replaced by two double
quotes. If there are any double quotes, commas, or newlines in the
string, the returned string will be surrounded by double quotes.
Parameters: str - a string to be used in a comma-delimited data file a new string that's safe for use in a comma-delimited data file |
doOutputField | protected void doOutputField(Field field)(Code) | | This override handles output of a field.
Parameters: field - a field |
doOutputLine | protected void doOutputLine(Line line)(Code) | | Ignores line output.
Parameters: line - a line |
doOutputSection | protected void doOutputSection(Section sect)(Code) | | This override handles output of a section.
Parameters: sect - section |
|
|
|