public class TboWriter extends Object implements OsmOutputStream
Constructor and Description |
---|
TboWriter(BlockWriter blockWriter,
BlockableWriter blockableWriter,
boolean writeMetadata) |
TboWriter(BlockWriter blockWriter,
boolean writeMetadata,
boolean lowMemoryFootPrint) |
TboWriter(CompactWriter writer,
boolean writeMetadata) |
TboWriter(CompactWriter writer,
boolean writeMetadata,
boolean lowMemoryFootPrint) |
TboWriter(OutputStream output,
boolean writeMetadata) |
TboWriter(OutputStream output,
boolean writeMetadata,
boolean lowMemoryFootPrint) |
Modifier and Type | Method and Description |
---|---|
void |
complete() |
Compression |
getCompression() |
boolean |
isWriteMetadata() |
void |
setBatchSizeByElementCount(int batchSize) |
void |
setBatchSizeByElementCount(int batchSizeNodes,
int batchSizeWays,
int batchSizeRelations) |
void |
setBatchSizeNodesByElementCount(int batchSize) |
void |
setBatchSizeRelationsByElementCount(int batchSize) |
void |
setBatchSizeRelationsByMembers(int batchSize) |
void |
setBatchSizeWaysByElementCount(int batchSize) |
void |
setBatchSizeWaysByNodes(int batchSize) |
void |
setCompression(Compression compression) |
void |
setWriteMetadata(boolean writeMetadata) |
void |
write(OsmBounds bounds) |
void |
write(OsmNode node) |
void |
write(OsmRelation relation) |
void |
write(OsmWay way) |
void |
writeHeader(FileHeader header) |
public TboWriter(OutputStream output, boolean writeMetadata)
public TboWriter(OutputStream output, boolean writeMetadata, boolean lowMemoryFootPrint)
public TboWriter(CompactWriter writer, boolean writeMetadata)
public TboWriter(CompactWriter writer, boolean writeMetadata, boolean lowMemoryFootPrint)
public TboWriter(BlockWriter blockWriter, boolean writeMetadata, boolean lowMemoryFootPrint)
public TboWriter(BlockWriter blockWriter, BlockableWriter blockableWriter, boolean writeMetadata)
public Compression getCompression()
public void setCompression(Compression compression)
public boolean isWriteMetadata()
public void setWriteMetadata(boolean writeMetadata)
public void setBatchSizeByElementCount(int batchSize)
public void setBatchSizeByElementCount(int batchSizeNodes, int batchSizeWays, int batchSizeRelations)
public void setBatchSizeNodesByElementCount(int batchSize)
public void setBatchSizeWaysByElementCount(int batchSize)
public void setBatchSizeRelationsByElementCount(int batchSize)
public void setBatchSizeWaysByNodes(int batchSize)
public void setBatchSizeRelationsByMembers(int batchSize)
public void writeHeader(FileHeader header) throws IOException
IOException
public void write(OsmBounds bounds) throws IOException
write
in interface OsmOutputStream
IOException
public void write(OsmNode node) throws IOException
write
in interface OsmOutputStream
IOException
public void write(OsmWay way) throws IOException
write
in interface OsmOutputStream
IOException
public void write(OsmRelation relation) throws IOException
write
in interface OsmOutputStream
IOException
public void complete() throws IOException
complete
in interface OsmOutputStream
IOException