*** empty log message ***

This commit is contained in:
hyung-hwan 2006-10-24 06:03:14 +00:00
parent 56d096bc2b
commit 761968178c
4 changed files with 46 additions and 10 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: Awk.java,v 1.1 2006-10-24 04:57:29 bacon Exp $
* $Id: Awk.java,v 1.2 2006-10-24 06:03:14 bacon Exp $
*/
package ase.awk;
@ -19,15 +19,15 @@ public abstract class Awk
private long __awk;
public Awk () throws AwkException
public Awk () throws ase.awk.Exception
{
open ();
}
public native void close ();
public native void parse () throws AwkException;
public native void run () throws AwkException;
private native void open () throws AwkException;
public native void parse () throws ase.awk.Exception;
public native void run () throws ase.awk.Exception;
private native void open () throws ase.awk.Exception;
/*
protected native void set_extio (long extio, Object obj);

18
ase/awk/Exception.java Normal file
View File

@ -0,0 +1,18 @@
/*
* $Id: Exception.java,v 1.1 2006-10-24 06:00:36 bacon Exp $
*/
package ase.awk;
public class Exception extends java.lang.Exception
{
Exception ()
{
super ();
}
Exception (String msg)
{
super (msg);
}
}

22
ase/awk/Extio.java Normal file
View File

@ -0,0 +1,22 @@
package ase.awk;
public class Extio
{
private long extio;
protected Extio (long extio)
{
}
public native String name ();
/*
void setHandle (Object obj)
{
}
Object getHandle ()
{
}
*/
};

View File

@ -30,11 +30,7 @@ jni: $(OBJS) jni.obj
<<
java:
javac -classpath ../.. Awk.java TestAwk.java Extio.java AwkException.java
jrun:
java -classpath ../.. ase.awk.TestAwk
javac -classpath ../.. Awk.java Extio.java Exception.java
clean:
del $(OBJS) $(OUT) *.obj