public abstract class AbstractRecordWriterFactory extends AbstractIoFactory implements RecordWriterFactory
| Constructor and Description |
|---|
AbstractRecordWriterFactory(String name,
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 |
isCustomAttributionSupported() |
boolean |
isGeometrySupported() |
boolean |
isSingleFile() |
protected void |
setCoordinateSystems(CoordinateSystem... coordinateSystems) |
protected void |
setCoordinateSystems(Set<CoordinateSystem> coordinateSystems) |
protected void |
setSingleFile(boolean singleFile) |
addMediaType, addMediaTypeAndFileExtension, getFileExtension, getFileExtensions, getMediaType, getMediaTypes, getName, init, isAvailable, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateRecordWritergetFileExtension, getFileExtensions, getMediaType, getMediaTypes, getName, init, isAvailablepublic AbstractRecordWriterFactory(String name, 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 RecordWriterFactorypublic boolean isCoordinateSystemSupported(CoordinateSystem coordinateSystem)
isCoordinateSystemSupported in interface RecordWriterFactorypublic boolean isCustomAttributionSupported()
isCustomAttributionSupported in interface RecordWriterFactorypublic boolean isGeometrySupported()
isGeometrySupported in interface RecordWriterFactorypublic boolean isSingleFile()
isSingleFile in interface RecordWriterFactoryprotected void setCoordinateSystems(CoordinateSystem... coordinateSystems)
protected void setCoordinateSystems(Set<CoordinateSystem> coordinateSystems)
protected void setSingleFile(boolean singleFile)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.