|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jdbcimporter.ant.DelimiterParserElement
The DelimiterParserElement provides an Ant wrapper for setting a DelimiterParser object from Ant.
| Field Summary | |
protected BinaryDelimiterParser |
binaryParser
The wrapped binary delimiter parser. |
static java.lang.String |
FULL_PREFIX
Alternative prefix used in the properties to identify that this property is a delimiter parser mapping. |
protected DelimiterParser |
parser
The wrapped delimiter parser. |
protected java.util.Map |
plugins
The mapping between delimtier parser types and implementations. |
protected java.lang.String |
prefix
The current prefix used to lookup delimiter parsers. |
static java.lang.String |
PREFIX
The prefix used in the properties to identify that this property is a delimiter parser mapping. |
protected java.lang.String |
type
The delimiter parser type. |
| Constructor Summary | |
DelimiterParserElement(java.util.Map plugins)
Constructs an empty DelimiterParserElement with the given mapping between delimiter parser types and implementations. |
|
DelimiterParserElement(java.lang.String prefix,
java.util.Map plugins)
Constructs an empty DelimiterParserElement with the given mapping between delimiter parser types and implementations. |
|
| Method Summary | |
void |
addConfiguredProperty(PropertyElement element)
Add a property to the delimiter parser. |
BinaryDelimiterParser |
getBinaryDelimiterParser()
Returns the wrapped binary delimiter parser. |
DelimiterParser |
getDelimiterParser()
Returns the wrapped delimiter parser. |
boolean |
isBinaryDelimiterParser()
Returns true if the wrapped delimiter parser is a binary delimiter parser. |
void |
setType(java.lang.String type)
Sets the delimiter parser type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String PREFIX
public static java.lang.String FULL_PREFIX
protected java.lang.String prefix
protected java.util.Map plugins
protected java.lang.String type
protected DelimiterParser parser
protected BinaryDelimiterParser binaryParser
| Constructor Detail |
public DelimiterParserElement(java.util.Map plugins)
plugins - the plugin mapping
public DelimiterParserElement(java.lang.String prefix,
java.util.Map plugins)
prefix - the prefixplugins - the plugin mapping| Method Detail |
public void setType(java.lang.String type)
type - the delimiter parser typepublic void addConfiguredProperty(PropertyElement element)
element - the property element
public DelimiterParser getDelimiterParser()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic BinaryDelimiterParser getBinaryDelimiterParser()
public boolean isBinaryDelimiterParser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||