45 lines
545 B
Java
45 lines
545 B
Java
|
/*
|
||
|
* $Id: IO.java,v 1.1 2007/05/26 10:52:48 bacon Exp $
|
||
|
*/
|
||
|
|
||
|
package ase.awk;
|
||
|
|
||
|
class IO
|
||
|
{
|
||
|
protected Awk awk;
|
||
|
protected Extio extio;
|
||
|
protected Object handle;
|
||
|
|
||
|
protected IO (Awk awk, Extio extio)
|
||
|
{
|
||
|
this.awk = awk;
|
||
|
this.extio = extio;
|
||
|
}
|
||
|
|
||
|
public String getName ()
|
||
|
{
|
||
|
return extio.getName();
|
||
|
}
|
||
|
|
||
|
public int getMode ()
|
||
|
{
|
||
|
return extio.getMode();
|
||
|
}
|
||
|
|
||
|
public long getRunId ()
|
||
|
{
|
||
|
return extio.getRunId();
|
||
|
}
|
||
|
|
||
|
public void setHandle (Object handle)
|
||
|
{
|
||
|
this.handle = handle;
|
||
|
}
|
||
|
|
||
|
public Object getHandle ()
|
||
|
{
|
||
|
return handle;
|
||
|
}
|
||
|
|
||
|
}
|