public class ShapefileRecordWriter extends XbaseRecordWriter
| Constructor and Description |
|---|
ShapefileRecordWriter(RecordDefinition recordDefinition,
org.springframework.core.io.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
addDbaseField(String name,
DataType dataType,
Class<?> typeJavaClass,
int length,
int scale) |
void |
close() |
protected void |
init() |
protected void |
preFirstWrite(Record object) |
String |
toString() |
protected boolean |
writeField(Record object,
XBaseFieldDefinition field) |
addFieldDefinition, flush, getCharset, getRecordDefinition, getShortNames, hasField, isUseZeroForNull, setCharset, setShortNames, setUseZeroForNull, writeisIndent, isWritable, isWriteNulls, setIndent, setProperty, setWriteNullsclose, close, close, openclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setPropertySoft, setPropertyWeakpublic ShapefileRecordWriter(RecordDefinition recordDefinition, org.springframework.core.io.Resource resource)
protected int addDbaseField(String name, DataType dataType, Class<?> typeJavaClass, int length, int scale)
addDbaseField in class XbaseRecordWriterpublic void close()
close in interface Writer<Record>close in interface AutoCloseableclose in class XbaseRecordWriterprotected void init()
throws IOException
init in class XbaseRecordWriterIOExceptionprotected void preFirstWrite(Record object) throws IOException
preFirstWrite in class XbaseRecordWriterIOExceptionpublic String toString()
toString in class XbaseRecordWriterprotected boolean writeField(Record object, XBaseFieldDefinition field) throws IOException
writeField in class XbaseRecordWriterIOExceptionCopyright © 2015 Revolution Systems Inc.. All rights reserved.