Interface ClipboardReader
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
MCEditSchematicReader
,NBTSchematicReader
,SpongeSchematicReader
Reads
Clipboard
s.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault OptionalInt
Get the DataVersion from a file (if possible).read()
Read aClipboard
.
-
Method Details
-
read
Read aClipboard
.- Returns:
- the read clipboard
- Throws:
IOException
- thrown on I/O error
-
getDataVersion
Get the DataVersion from a file (if possible).- Returns:
- The data version, or empty
-