|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.japaki.kit.MultiLineParserMold
public class MultiLineParserMold
Parser mold based on a
MultiLineTransformer
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.sf.japaki.kit.ParserMold |
---|
ParserMold.Parameter |
Constructor Summary | |
---|---|
protected |
MultiLineParserMold()
Creates a new multi line parser mold. |
|
MultiLineParserMold(String defaultDelimiter,
int linesize)
Creates a new multi line parser mold with the given parameters. |
Method Summary | ||
---|---|---|
static MultiLineParserMold |
getInstance()
Returns the default instance of this class. |
|
|
getParser(Property<B,String> property,
ParserMold.Parameter parameter)
Creates a parser for a multline string field. |
|
Class<String> |
getTargetType()
Returns the target type of the parsers created by this mold. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiLineParserMold(String defaultDelimiter, int linesize)
defaultDelimiter
- delimiter for new formats.
If the default delimiter is null
, it must be specified in
getParser
.linesize
- the maximum size of an output lineprotected MultiLineParserMold()
Method Detail |
---|
public static final MultiLineParserMold getInstance()
public <B> Parser<B> getParser(Property<B,String> property, ParserMold.Parameter parameter)
getParser
in interface ParserMold<String>
property
- property of the created parserparameter
- pattern
- specifies the delimiter (see RegexFormat
)
NullPointerException
- if property is null
public Class<String> getTargetType()
ParserMold
getTargetType
in interface ParserMold<String>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |