public abstract class MapImporter
extends java.lang.Object
worlds.| Modifier and Type | Class and Description | 
|---|---|
| static class  | MapImporter.ReadOnlyOptionAn indication of how the  ReadOnlylayer should be applied to the imported world. | 
| Constructor and Description | 
|---|
| MapImporter() | 
| Modifier and Type | Method and Description | 
|---|---|
| World2 | doImport()Import the map, returning it as a  World2object. | 
| abstract World2 | doImport(org.pepsoft.util.ProgressReceiver progressReceiver)Import the map (optionally reporting progress to the specified progress receiver) and returning it as a
  World2object. | 
| abstract java.lang.String | getWarnings()Get the warnings generated by the import, or  nullif there were none. | 
public World2 doImport() throws java.io.IOException
World2 object. The default implementation delegates to
 doImport(ProgressReceiver) without specifying a progress receiver.World2 object.java.io.IOException - If an I/O error occurred importing the map.public abstract World2 doImport(org.pepsoft.util.ProgressReceiver progressReceiver) throws java.io.IOException, org.pepsoft.util.ProgressReceiver.OperationCancelled
World2 object.progressReceiver - The progress receiver to which to report progress. May be null, indicating that
                         no progress need be reported.World2 object.java.io.IOException - If an I/O error occurred importing the map.ProgressReceiver.OperationCancelled - If the progress receiver threw an
 ProgressReceiver.OperationCancelled exception.public abstract java.lang.String getWarnings()
null if there were none. Multiple warnings should be on
 separate lines separated by line separators (\n).null if there were none.