Class MCEditSchematicReader
java.lang.Object
com.sk89q.worldedit.extent.clipboard.io.MCEditSchematicReader
- All Implemented Interfaces:
ClipboardReader
,Closeable
,AutoCloseable
Reads schematic files that are compatible with MCEdit and other editors.
-
Constructor Details
-
MCEditSchematicReader
Deprecated.Create a new instance.- Parameters:
inputStream
- the input stream to read from
-
-
Method Details
-
read
Description copied from interface:ClipboardReader
Read aClipboard
.- Specified by:
read
in interfaceClipboardReader
- Returns:
- the read clipboard
- Throws:
IOException
- thrown on I/O error
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
ClipboardFormat.getReader(InputStream)
API withBuiltInClipboardFormat.MCEDIT_SCHEMATIC