public final class NBTInputStream
extends java.lang.Object
implements java.io.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(java.io.InputStream is)
                                    Creates a new  
                                NBTInputStream, which will source its
                                        data
                                        from the specified input stream.
                                     | 
                            
public NBTInputStream(java.io.InputStream is)
               throws java.io.IOException
                                NBTInputStream, which will source its data
                                    from the specified input stream.
                                is - the input streamjava.io.IOException - if an I/O error occurspublic Tag readTag() throws java.io.IOException
java.io.IOException - if an I/O error occurs.public void close()
           throws java.io.IOException
                                close in interface java.io.Closeableclose in interface java.lang.AutoCloseable
                                    java.io.IOException