public class JSONFileRegionDataOutput extends Object implements RegionDataOutput
| Constructor and Description |
|---|
JSONFileRegionDataOutput(String filename) |
JSONFileRegionDataOutput(Writer _writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init() |
void |
write(RegionDTO regionDTO)
Write region data
|
public JSONFileRegionDataOutput(String filename)
public JSONFileRegionDataOutput(Writer _writer)
public void init()
throws IOException
init in interface RegionDataOutputIOExceptionpublic void write(RegionDTO regionDTO) throws IOException
RegionDataOutputwrite in interface RegionDataOutputregionDTO - region data to write.IOException - if an I/O error occurs.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2019. All rights reserved.