org.jruby.ext
Class JRubyPOSIXHandler

java.lang.Object
  extended by org.jruby.ext.JRubyPOSIXHandler
All Implemented Interfaces:
org.jruby.ext.posix.POSIXHandler

public class JRubyPOSIXHandler
extends java.lang.Object
implements org.jruby.ext.posix.POSIXHandler


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jruby.ext.posix.POSIXHandler
org.jruby.ext.posix.POSIXHandler.WARNING_ID
 
Constructor Summary
JRubyPOSIXHandler(Ruby runtime)
           
 
Method Summary
 void error(com.kenai.constantine.platform.Errno error, java.lang.String extraData)
           
 java.io.File getCurrentWorkingDirectory()
           
 java.lang.String[] getEnv()
           
 java.io.PrintStream getErrorStream()
           
 java.io.InputStream getInputStream()
           
 java.io.PrintStream getOutputStream()
           
 int getPID()
           
 boolean isVerbose()
           
 void unimplementedError(java.lang.String method)
           
 void warn(org.jruby.ext.posix.POSIXHandler.WARNING_ID id, java.lang.String message, java.lang.Object... data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRubyPOSIXHandler

public JRubyPOSIXHandler(Ruby runtime)
Method Detail

error

public void error(com.kenai.constantine.platform.Errno error,
                  java.lang.String extraData)
Specified by:
error in interface org.jruby.ext.posix.POSIXHandler

unimplementedError

public void unimplementedError(java.lang.String method)
Specified by:
unimplementedError in interface org.jruby.ext.posix.POSIXHandler

warn

public void warn(org.jruby.ext.posix.POSIXHandler.WARNING_ID id,
                 java.lang.String message,
                 java.lang.Object... data)
Specified by:
warn in interface org.jruby.ext.posix.POSIXHandler

isVerbose

public boolean isVerbose()
Specified by:
isVerbose in interface org.jruby.ext.posix.POSIXHandler

getCurrentWorkingDirectory

public java.io.File getCurrentWorkingDirectory()
Specified by:
getCurrentWorkingDirectory in interface org.jruby.ext.posix.POSIXHandler

getEnv

public java.lang.String[] getEnv()
Specified by:
getEnv in interface org.jruby.ext.posix.POSIXHandler

getErrorStream

public java.io.PrintStream getErrorStream()
Specified by:
getErrorStream in interface org.jruby.ext.posix.POSIXHandler

getInputStream

public java.io.InputStream getInputStream()
Specified by:
getInputStream in interface org.jruby.ext.posix.POSIXHandler

getPID

public int getPID()
Specified by:
getPID in interface org.jruby.ext.posix.POSIXHandler

getOutputStream

public java.io.PrintStream getOutputStream()
Specified by:
getOutputStream in interface org.jruby.ext.posix.POSIXHandler


Copyright © 2002-2009 JRuby Team. All Rights Reserved.