|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FieldSource | |
|---|---|
| net.sf.jmatchparser.util.csv.fieldreader | This package contains the
FieldReader class and
classes that are used by it. |
| Uses of FieldSource in net.sf.jmatchparser.util.csv.fieldreader |
|---|
| Methods in net.sf.jmatchparser.util.csv.fieldreader that return FieldSource | |
|---|---|
static FieldSource |
FieldSource.concat(FieldSource... sources)
Create a new field source that returns a value concatenated from several other FieldSources. |
static FieldSource |
FieldSource.fromColumn(String columnName)
Create a new field source that returns a value from a CSV column. |
static FieldSource |
FieldSource.fromConstant(String constant)
Create a new field source that always returns the same constant value. |
static FieldSource |
FieldSource.parse(String columns,
FieldSource.EmptyAction emptyAction,
String mask,
String mappings)
Parse a field source from several parameters. |
static FieldSource |
FieldSource.withChecks(FieldSource source,
FieldSource.EmptyAction emptyAction,
Pattern mask)
Create a field source that performs checks on the output of another field source and returns the result verbatim. |
static FieldSource |
FieldSource.withChecks(FieldSource source,
FieldSource.EmptyAction emptyAction,
String mask)
Create a field source that performs checks on the output of another field source and returns the result verbatim. |
static FieldSource |
FieldSource.withFormat(FieldSource source,
ParseFormat<String> format)
Create a field source that applies a ParseFormat on another field
source. |
static FieldSource |
FieldSource.withMapping(FieldSource source,
Pattern regex,
String replacement)
Create a field source that performs a regex replacement on another field source. |
static FieldSource |
FieldSource.withMapping(FieldSource source,
String regex,
String replacement)
Create a field source that performs a regex replacement on another field source. |
static FieldSource |
FieldSource.withMappings(FieldSource source,
String mappings)
Create a field source that performs a series of regex replacements on another field source. |
| Methods in net.sf.jmatchparser.util.csv.fieldreader that return types with arguments of type FieldSource | ||
|---|---|---|
|
FieldSourceFactory.createFieldSources(Collection<K> possibleFields)
Create field sources from the CSV file. |
|
|
FieldSourceFactory.createFieldSources(K[] possibleFields)
Create field sources from the CSV file. |
|
| Methods in net.sf.jmatchparser.util.csv.fieldreader with parameters of type FieldSource | |
|---|---|
static FieldSource |
FieldSource.concat(FieldSource... sources)
Create a new field source that returns a value concatenated from several other FieldSources. |
static FieldSource |
FieldSource.withChecks(FieldSource source,
FieldSource.EmptyAction emptyAction,
Pattern mask)
Create a field source that performs checks on the output of another field source and returns the result verbatim. |
static FieldSource |
FieldSource.withChecks(FieldSource source,
FieldSource.EmptyAction emptyAction,
String mask)
Create a field source that performs checks on the output of another field source and returns the result verbatim. |
static FieldSource |
FieldSource.withFormat(FieldSource source,
ParseFormat<String> format)
Create a field source that applies a ParseFormat on another field
source. |
static FieldSource |
FieldSource.withMapping(FieldSource source,
Pattern regex,
String replacement)
Create a field source that performs a regex replacement on another field source. |
static FieldSource |
FieldSource.withMapping(FieldSource source,
String regex,
String replacement)
Create a field source that performs a regex replacement on another field source. |
static FieldSource |
FieldSource.withMappings(FieldSource source,
String mappings)
Create a field source that performs a series of regex replacements on another field source. |
| Method parameters in net.sf.jmatchparser.util.csv.fieldreader with type arguments of type FieldSource | |
|---|---|
void |
FieldReader.setFieldSources(Map<K,FieldSource> fieldSources)
Set the FieldSources to be used for this field reader. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||