org.jmonks.batch.io.flat
Class DelimitedFlatFileFileSpec
java.lang.Object
org.jmonks.batch.io.FileSpec
org.jmonks.batch.io.flat.DelimitedFlatFileFileSpec
- public class DelimitedFlatFileFileSpec
- extends FileSpec
DelimitedFlatFileFileSpec represents the file spec defines the flat file
where all the fields in the records delimited with a particular character or value.
This file spec doesn't require any special attributes other than file-type
attribute,
which should be "delimited-flat".
Here is a sample file spec...
<file-spec file-type="delimited-flat">
<!-- record specs will follow here -->
</file-spec>
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Suresh Pragada
Method Summary |
static FileSpec |
createDelimitedFlatFileFileSpec(org.w3c.dom.Element fileSpecElement)
Factory method create the delimited flat file spec object from the given
DOM Element representing the file-spec element. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DelimitedFlatFileFileSpec
protected DelimitedFlatFileFileSpec()
- Constructs the DelimitedFlatFileFileSpec.
createDelimitedFlatFileFileSpec
public static FileSpec createDelimitedFlatFileFileSpec(org.w3c.dom.Element fileSpecElement)
- Factory method create the delimited flat file spec object from the given
DOM Element representing the file-spec element.
- Parameters:
fileSpecElement
- DOM Element representing the file-spec element.
- Returns:
- Returns the instance of DelimitedFlatFileFileSpec.
- Throws:
FileSpecException
- If more than one record spec is configured.
toString
public java.lang.String toString()
- See Also:
Object.toString()