org.hops.ext
Class io

java.lang.Object
  extended by org.hops.ext.io

public class io
extends java.lang.Object

for writing and reading to and from the console


Constructor Summary
io()
           
 
Method Summary
static java.lang.String DMRead()
          reads from the console
static void DMWrite(java.io.PrintStream out, java.lang.String _sent)
          writes to the console
static void DMWrite(java.lang.String _sent)
          writes to the console
 java.lang.Object getLogger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

io

public io()
Method Detail

DMWrite

public static void DMWrite(java.lang.String _sent)
writes to the console

Parameters:
_sent - the message

DMWrite

public static void DMWrite(java.io.PrintStream out,
                           java.lang.String _sent)
writes to the console

Parameters:
_sent - the message

DMRead

public static java.lang.String DMRead()
reads from the console

Returns:
the sentence read

getLogger

public java.lang.Object getLogger()