public abstract class SimpleReaderFeatureTypeLoader
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
all_fields_declare_type |
protected SimpleReaderStoreParameters |
parameters |
| Modifier | Constructor and Description |
|---|---|
protected |
SimpleReaderFeatureTypeLoader() |
|
SimpleReaderFeatureTypeLoader(SimpleReaderStoreParameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillFeatureType(EditableFeatureType fType,
FieldTypeParser[] fieldTypes) |
protected void |
fillFeatureType(EditableFeatureType fType,
java.lang.String[] headers,
AutomaticDetectionOfTypes.DetectedValue[] automaticTypes) |
protected FieldTypeParser[] |
getFieldTypes(java.lang.String[] headers,
AutomaticDetectionOfTypes.DetectedValue[] automaticTypes) |
protected java.lang.String |
getFixedHeader(int column) |
protected java.lang.String[] |
getFixedHeaders(int count) |
protected java.lang.String[] |
getHeaders(SimpleReader reader) |
protected abstract java.lang.String |
getProviderName() |
protected abstract SimpleReader |
getSimpleReader(java.io.Reader in) |
boolean |
isAllFieldsDeclareType() |
protected boolean |
isFirstLineHeader() |
boolean |
loadFeatureType(EditableFeatureType featureType,
boolean detectTypes,
SimpleTaskStatus status) |
boolean |
loadFeatureType(EditableFeatureType featureType,
SimpleTaskStatus status) |
protected boolean all_fields_declare_type
protected SimpleReaderStoreParameters parameters
public SimpleReaderFeatureTypeLoader(SimpleReaderStoreParameters parameters)
protected SimpleReaderFeatureTypeLoader()
protected abstract java.lang.String getProviderName()
protected abstract SimpleReader getSimpleReader(java.io.Reader in) throws java.io.IOException
java.io.IOExceptionprotected FieldTypeParser[] getFieldTypes(java.lang.String[] headers, AutomaticDetectionOfTypes.DetectedValue[] automaticTypes)
protected void fillFeatureType(EditableFeatureType fType, FieldTypeParser[] fieldTypes)
public boolean loadFeatureType(EditableFeatureType featureType, SimpleTaskStatus status) throws java.io.IOException
java.io.IOExceptionpublic boolean loadFeatureType(EditableFeatureType featureType, boolean detectTypes, SimpleTaskStatus status) throws java.io.IOException
java.io.IOExceptionprotected java.lang.String[] getHeaders(SimpleReader reader) throws java.lang.RuntimeException, java.io.IOException
java.lang.RuntimeExceptionjava.io.IOExceptionprotected java.lang.String[] getFixedHeaders(int count)
protected java.lang.String getFixedHeader(int column)
protected boolean isFirstLineHeader()
protected void fillFeatureType(EditableFeatureType fType, java.lang.String[] headers, AutomaticDetectionOfTypes.DetectedValue[] automaticTypes)
public boolean isAllFieldsDeclareType()