Class SpongeSchematicWriter
java.lang.Object
com.sk89q.worldedit.extent.clipboard.io.SpongeSchematicWriter
- All Implemented Interfaces:
ClipboardWriter
,Closeable
,AutoCloseable
Writes schematic files using the Sponge schematic format.
-
Constructor Summary
ConstructorsConstructorDescriptionSpongeSchematicWriter
(NBTOutputStream outputStream) Create a new schematic writer. -
Method Summary
-
Constructor Details
-
SpongeSchematicWriter
Create a new schematic writer.- Parameters:
outputStream
- the output stream to write to
-
-
Method Details
-
write
Description copied from interface:ClipboardWriter
Writes a clipboard.- Specified by:
write
in interfaceClipboardWriter
- Parameters:
clipboard
- the clipboard- Throws:
IOException
- thrown on I/O error
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-