Package lukyt

Class LuaInputStream

java.lang.Object
java.io.InputStream
lukyt.LuaInputStream
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable

public class LuaInputStream
extends java.io.InputStream
  • Constructor Summary

    Constructors 
    Constructor Description
    LuaInputStream​(LuaObject stream)  
  • Method Summary

    Modifier and Type Method Description
    int available()  
    void close()  
    int read()  

    Methods inherited from class java.io.InputStream

    mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • read

      public int read() throws java.io.IOException
      Specified by:
      read in class java.io.InputStream
      Throws:
      java.io.IOException
    • available

      public int available()
      Overrides:
      available in class java.io.InputStream
    • close

      public void close() throws java.io.IOException
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable
      Overrides:
      close in class java.io.InputStream
      Throws:
      java.io.IOException