org.datamixer.io
Class DelimitedFormat
java.lang.Object
org.datamixer.io.DMFormatter
org.datamixer.io.DelimitedFormat
- Direct Known Subclasses:
- CsvFormat, TabFormat
- public class DelimitedFormat
- extends DMFormatter
|
Field Summary |
protected java.lang.String |
delim_
delimiter |
| Methods inherited from class org.datamixer.io.DMFormatter |
getId, getImpl, getReader, getWriter, setId, setImpl, setReader, setType, setWriter, write, write, writeAttribute, writeAttributes, writeElements, writeElementValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delim_
protected java.lang.String delim_
- delimiter
DelimitedFormat
public DelimitedFormat()
read
public boolean read(DMElement element)
throws DatamixerException
- Description copied from class:
DMFormatter
- Should be overridden by derived classes. This method delegates to the
implementation object.
- Overrides:
read in class DMFormatter
- Throws:
DatamixerException
readAttributes
protected void readAttributes(java.lang.String[] tokens,
java.util.ArrayList attributes)
throws DatamixerException
- Throws:
DatamixerException
writeElement
protected void writeElement(int depth,
DMElement element)
throws DatamixerException
- Overrides:
writeElement in class DMFormatter
- Throws:
DatamixerException
formatAttribute
protected void formatAttribute(DMAttribute attr,
Value value,
int index)
throws DatamixerException
- Overrides:
formatAttribute in class DMFormatter
- Throws:
DatamixerException
getDelimiter
public java.lang.String getDelimiter()
setDelimiter
public void setDelimiter(java.lang.String value)
Copyright © 2004-2006 datamixer.org. All Rights Reserved.