org.luaj.vm2.lib.jme
Class JmeIoLib

java.lang.Object
  extended by IoLib
      extended by org.luaj.vm2.lib.jme.JmeIoLib

public class JmeIoLib
extends IoLib

Implementation of the lua io library based on CLDC 1.0 and StreamConnection. Seek is not supported.


Constructor Summary
JmeIoLib()
           
 
Method Summary
protected  File openFile(java.lang.String filename, boolean readMode, boolean appendMode, boolean updateMode, boolean binaryMode)
           
protected  File openProgram(java.lang.String prog, java.lang.String mode)
           
protected  File tmpFile()
           
protected  File wrapStdin()
           
protected  File wrapStdout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmeIoLib

public JmeIoLib()
Method Detail

wrapStdin

protected File wrapStdin()
                  throws java.io.IOException
Throws:
java.io.IOException

wrapStdout

protected File wrapStdout()
                   throws java.io.IOException
Throws:
java.io.IOException

openFile

protected File openFile(java.lang.String filename,
                        boolean readMode,
                        boolean appendMode,
                        boolean updateMode,
                        boolean binaryMode)
                 throws java.io.IOException
Throws:
java.io.IOException

openProgram

protected File openProgram(java.lang.String prog,
                           java.lang.String mode)
                    throws java.io.IOException
Throws:
java.io.IOException

tmpFile

protected File tmpFile()
                throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007-2013 Luaj.org. All Rights Reserved.