public final class NBTInputStream extends Object implements Closeable
Tag
object.
The NBT format was created by Markus Persson, and the specification may be found at http://www.minecraft.net/docs/NBT.txt.
| Constructor and Description |
|---|
NBTInputStream(InputStream is)
Creates a new
NBTInputStream, which will source its data
from the specified input stream. |
public NBTInputStream(InputStream is) throws IOException
NBTInputStream, which will source its data
from the specified input stream.is - the input streamIOException - if an I/O error occurspublic Tag readTag() throws IOException
IOException - if an I/O error occurs.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2010-2014. All Rights Reserved.