public abstract class SPARQLResultsXSVMappingStrategy extends Object implements com.opencsv.bean.MappingStrategy<BindingSet>
SPARQLResultsCSVMappingStrategy
and
SPARQLResultsTSVMappingStrategy
.Modifier and Type | Field and Description |
---|---|
protected List<String> |
bindingNames |
protected static Pattern |
numberPattern |
protected ValueFactory |
valueFactory |
Constructor and Description |
---|
SPARQLResultsXSVMappingStrategy(ValueFactory valueFactory) |
Modifier and Type | Method and Description |
---|---|
BindingSet |
createBean()
Deprecated.
|
PropertyDescriptor |
findDescriptor(int col)
Deprecated.
|
com.opencsv.bean.BeanField<BindingSet> |
findField(int col)
Deprecated.
|
int |
findMaxFieldIndex()
Deprecated.
|
String[] |
generateHeader(BindingSet bean) |
List<String> |
getBindingNames() |
Integer |
getColumnIndex(String name)
Deprecated.
|
boolean |
isAnnotationDriven() |
protected Value |
parseNumberPatternMatch(String valueString)
This method parses a number as matched by
numberPattern into a Value . |
BindingSet |
populateNewBeanWithIntrospection(String[] line)
Deprecated.
|
void |
setErrorLocale(Locale errorLocale) |
void |
setType(Class<? extends BindingSet> type) |
String[] |
transmuteBean(BindingSet bean) |
void |
verifyLineLength(int numberOfFields)
Deprecated.
|
protected final ValueFactory valueFactory
protected static final Pattern numberPattern
public SPARQLResultsXSVMappingStrategy(ValueFactory valueFactory)
@Deprecated public PropertyDescriptor findDescriptor(int col)
findDescriptor
in interface com.opencsv.bean.MappingStrategy<BindingSet>
@Deprecated public com.opencsv.bean.BeanField<BindingSet> findField(int col)
findField
in interface com.opencsv.bean.MappingStrategy<BindingSet>
@Deprecated public int findMaxFieldIndex()
findMaxFieldIndex
in interface com.opencsv.bean.MappingStrategy<BindingSet>
@Deprecated public BindingSet createBean()
createBean
in interface com.opencsv.bean.MappingStrategy<BindingSet>
public String[] generateHeader(BindingSet bean)
generateHeader
in interface com.opencsv.bean.MappingStrategy<BindingSet>
@Deprecated public Integer getColumnIndex(String name)
getColumnIndex
in interface com.opencsv.bean.MappingStrategy<BindingSet>
public boolean isAnnotationDriven()
isAnnotationDriven
in interface com.opencsv.bean.MappingStrategy<BindingSet>
protected Value parseNumberPatternMatch(String valueString)
numberPattern
into a Value
.valueString
- The string to be parsed into a number@Deprecated public BindingSet populateNewBeanWithIntrospection(String[] line)
populateNewBeanWithIntrospection
in interface com.opencsv.bean.MappingStrategy<BindingSet>
@Deprecated public void verifyLineLength(int numberOfFields)
verifyLineLength
in interface com.opencsv.bean.MappingStrategy<BindingSet>
public void setErrorLocale(Locale errorLocale)
setErrorLocale
in interface com.opencsv.bean.MappingStrategy<BindingSet>
public void setType(Class<? extends BindingSet> type)
setType
in interface com.opencsv.bean.MappingStrategy<BindingSet>
public String[] transmuteBean(BindingSet bean)
transmuteBean
in interface com.opencsv.bean.MappingStrategy<BindingSet>
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.