public class MCEditSchematicFormat extends SchematicFormat
MCEDIT| Modifier | Constructor and Description |
|---|---|
protected |
MCEditSchematicFormat() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOfFormat(File file) |
CuboidClipboard |
load(File file)
Loads a schematic from the given file into a CuboidClipboard
|
void |
save(CuboidClipboard clipboard,
File file)
Saves the data from the specified CuboidClipboard to the given file, overwriting any
existing data in the file
|
getBlockForId, getFormat, getFormat, getFormats, getLookupNames, getNamepublic CuboidClipboard load(File file) throws IOException, DataException
SchematicFormatload in class SchematicFormatfile - The file to load fromIOException - If an error occurs while reading dataDataException - if data is not in the correct formatpublic void save(CuboidClipboard clipboard, File file) throws IOException, DataException
SchematicFormatsave in class SchematicFormatclipboard - The clipboard to get data fromfile - The file to save toIOException - If an error occurs while writing dataDataException - If the clipboard has data which cannot be storedpublic boolean isOfFormat(File file)
isOfFormat in class SchematicFormatCopyright © 2010-2014. All Rights Reserved.