public abstract class AbstractRecordAndGeometryReaderFactory extends AbstractGeometryReaderFactory implements RecordReaderFactory, MapReaderFactory, RecordStoreFactory
| Constructor and Description |
|---|
AbstractRecordAndGeometryReaderFactory(String name,
boolean binary) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMediaTypeAndFileExtension(String mediaType,
String fileExtension) |
Reader<Record> |
createDirectoryRecordReader()
Create a directory reader using the (
ArrayRecordFactory). |
Reader<Record> |
createDirectoryRecordReader(File directory)
Create a reader for the directory using the (
ArrayRecordFactory
). |
Reader<Record> |
createDirectoryRecordReader(File directory,
RecordFactory recordFactory)
Create a reader for the directory using the specified data object
recordFactory.
|
GeometryReader |
createGeometryReader(org.springframework.core.io.Resource resource) |
Reader<Map<String,Object>> |
createMapReader(org.springframework.core.io.Resource resource) |
RecordReader |
createRecordReader(org.springframework.core.io.Resource resource)
Create a reader for the resource using the (
ArrayRecordFactory
). |
RecordStore |
createRecordStore(Map<String,? extends Object> connectionProperties) |
List<String> |
getRecordStoreFileExtensions() |
Class<? extends RecordStore> |
getRecordStoreInterfaceClass(Map<String,? extends Object> connectionProperties) |
List<String> |
getUrlPatterns() |
void |
init() |
boolean |
isCustomAttributionSupported() |
boolean |
isSingleFile() |
protected void |
setCustomAttributionSupported(boolean customAttributionSupported) |
protected void |
setSingleFile(boolean singleFile) |
geometryReader, getCoordinateSystems, isBinary, isCoordinateSystemSupported, setCoordinateSystems, setCoordinateSystemsaddMediaType, getFileExtension, getFileExtensions, getMediaType, getMediaTypes, getName, isAvailable, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateRecordReader, getCoordinateSystems, isBinary, isCoordinateSystemSupportedgetFileExtension, getFileExtensions, getMediaType, getMediaTypes, getName, isAvailablegetNamepublic AbstractRecordAndGeometryReaderFactory(String name, boolean binary)
protected void addMediaTypeAndFileExtension(String mediaType, String fileExtension)
addMediaTypeAndFileExtension in class AbstractIoFactorypublic Reader<Record> createDirectoryRecordReader()
ArrayRecordFactory).createDirectoryRecordReader in interface RecordReaderFactorypublic Reader<Record> createDirectoryRecordReader(File directory)
ArrayRecordFactory
).createDirectoryRecordReader in interface RecordReaderFactorydirectory - The directory to read.public Reader<Record> createDirectoryRecordReader(File directory, RecordFactory recordFactory)
createDirectoryRecordReader in interface RecordReaderFactorydirectory - directory file to read.recordFactory - The recordFactory used to create data objects.public GeometryReader createGeometryReader(org.springframework.core.io.Resource resource)
createGeometryReader in interface GeometryReaderFactorypublic Reader<Map<String,Object>> createMapReader(org.springframework.core.io.Resource resource)
createMapReader in interface MapReaderFactorypublic RecordReader createRecordReader(org.springframework.core.io.Resource resource)
ArrayRecordFactory
).createRecordReader in interface RecordReaderFactoryfile - The file to read.public RecordStore createRecordStore(Map<String,? extends Object> connectionProperties)
createRecordStore in interface RecordStoreFactorypublic List<String> getRecordStoreFileExtensions()
getRecordStoreFileExtensions in interface RecordStoreFactorypublic Class<? extends RecordStore> getRecordStoreInterfaceClass(Map<String,? extends Object> connectionProperties)
getRecordStoreInterfaceClass in interface RecordStoreFactorypublic List<String> getUrlPatterns()
getUrlPatterns in interface RecordStoreFactorypublic void init()
init in interface IoFactoryinit in class AbstractIoFactorypublic boolean isCustomAttributionSupported()
isCustomAttributionSupported in interface MapReaderFactorypublic boolean isSingleFile()
isSingleFile in interface MapReaderFactoryprotected void setCustomAttributionSupported(boolean customAttributionSupported)
protected void setSingleFile(boolean singleFile)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.