public abstract class AbstractRecordIoFactory extends AbstractRecordReaderFactory implements RecordWriterFactory
customAttributionSupported| Constructor and Description |
|---|
AbstractRecordIoFactory(String name,
boolean binary,
boolean geometrySupported,
boolean customAttributionSupported) |
| Modifier and Type | Method and Description |
|---|---|
Writer<Record> |
createRecordWriter(RecordDefinition recordDefinition,
org.springframework.core.io.Resource resource)
Create a writer to write to the specified resource.
|
Writer<Record> |
createRecordWriter(String baseName,
RecordDefinition recordDefinition,
OutputStream outputStream) |
Set<CoordinateSystem> |
getCoordinateSystems() |
boolean |
isCoordinateSystemSupported(CoordinateSystem coordinateSystem) |
boolean |
isGeometrySupported() |
protected void |
setCoordinateSystems(CoordinateSystem... coordinateSystems) |
protected void |
setCoordinateSystems(Set<CoordinateSystem> coordinateSystems) |
createDirectoryRecordReader, createDirectoryRecordReader, createDirectoryRecordReader, createMapReader, createRecordReader, isBinarygetMapReaderFactory, isCustomAttributionSupported, isSingleFile, mapReader, setCustomAttributionSupported, setSingleFileaddMediaType, addMediaTypeAndFileExtension, getFileExtension, getFileExtensions, getMediaType, getMediaTypes, getName, init, isAvailable, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateRecordWriter, isCustomAttributionSupported, isSingleFilegetFileExtension, getFileExtensions, getMediaType, getMediaTypes, getName, init, isAvailablecreateRecordReaderpublic AbstractRecordIoFactory(String name, boolean binary, boolean geometrySupported, boolean customAttributionSupported)
public Writer<Record> createRecordWriter(RecordDefinition recordDefinition, org.springframework.core.io.Resource resource)
createRecordWriter in interface RecordWriterFactoryrecordDefinition - The recordDefinition for the type of data to write.resource - The resource to write to.public Writer<Record> createRecordWriter(String baseName, RecordDefinition recordDefinition, OutputStream outputStream)
createRecordWriter in interface RecordWriterFactorypublic Set<CoordinateSystem> getCoordinateSystems()
getCoordinateSystems in interface RecordReaderFactorygetCoordinateSystems in interface RecordWriterFactorypublic boolean isCoordinateSystemSupported(CoordinateSystem coordinateSystem)
isCoordinateSystemSupported in interface RecordReaderFactoryisCoordinateSystemSupported in interface RecordWriterFactorypublic boolean isGeometrySupported()
isGeometrySupported in interface RecordWriterFactoryprotected void setCoordinateSystems(CoordinateSystem... coordinateSystems)
protected void setCoordinateSystems(Set<CoordinateSystem> coordinateSystems)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.