public class JavaWorldExporter extends AbstractWorldExporter
AbstractWorldExporter.ExportResults| Modifier and Type | Field and Description |
|---|---|
protected JavaPlatformProvider |
platformProvider |
DATE_FORMAT, performingFixups, platform, populateSupported, world, worldExportSettings| Modifier | Constructor and Description |
|---|---|
|
JavaWorldExporter(World2 world,
WorldExportSettings exportSettings) |
protected |
JavaWorldExporter(World2 world,
WorldExportSettings exportSettings,
Platform platform) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaLevel |
createWorld(java.io.File worldDir,
java.lang.String name) |
java.util.Map<java.lang.Integer,ChunkFactory.Stats> |
export(java.io.File baseDir,
java.lang.String name,
java.io.File backupDir,
org.pepsoft.util.ProgressReceiver progressReceiver)
Export the world previously configured for export by the call to
PlatformProvider.getExporter(World2, WorldExportSettings)
to a directory with the specified name in the specified directory. |
protected ChunkFactory.Stats |
exportDimension(java.io.File worldDir,
Dimension dimension,
org.pepsoft.util.ProgressReceiver progressReceiver) |
applyWorldExportSettings, blockPropertiesPass, createChunk, createExecutorService, exportRegion, firstPass, getExportersForRegion, getIntHeightAt, getWaterLevelAt, getWorld, isReadyForFixups, logLayers, moveEntityTileData, parallelExportRegions, performFixups, performFixupsIfNecessary, restoreDimensionAfterExport, secondPass, selectBackupDir, setupDimensionForExportclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitselectBackupDirprotected final JavaPlatformProvider platformProvider
public JavaWorldExporter(World2 world, WorldExportSettings exportSettings)
protected JavaWorldExporter(World2 world, WorldExportSettings exportSettings, Platform platform)
protected JavaLevel createWorld(java.io.File worldDir, java.lang.String name) throws java.io.IOException
java.io.IOExceptionpublic java.util.Map<java.lang.Integer,ChunkFactory.Stats> export(java.io.File baseDir, java.lang.String name, java.io.File backupDir, org.pepsoft.util.ProgressReceiver progressReceiver) throws java.io.IOException, org.pepsoft.util.ProgressReceiver.OperationCancelled
WorldExporterPlatformProvider.getExporter(World2, WorldExportSettings)
to a directory with the specified name in the specified directory.baseDir - The directory in which to create the map directory.name - The name to give the map directory.backupDir - The directory to which to backup the existing map
directory, if any.progressReceiver - An optional progress receiver to which to report
the progress of the export. May be null.java.io.IOException - If an I/O error occurs while exporting the world.ProgressReceiver.OperationCancelled - If the progress receiver has
thrown an ProgressReceiver.OperationCancelled exception, or the
user has in some other manner indicated that the export should be
aborted.protected ChunkFactory.Stats exportDimension(java.io.File worldDir, Dimension dimension, org.pepsoft.util.ProgressReceiver progressReceiver)