Notice that the code is just a simple glue layer that puts the results in an array format.
import com.pvsw.tango.jas.Action; import FileSystemBean.FileSystem;
public class JASFileSystemListDir extends Action {
public void customProcessing(String argv[]) {
String[][] result;
FileSystem fs = new FileSystem();
result = fs.ListDir(argv[0]);
setNumColumns(2);
for ( int i = 0; i < result.length ; i++ ) {
newRow();
newColumn(result[i][0]);
newColumn(result[i][1]);
}
}
}Lars wrote:
*Does anybody have the source files for the Java Application Server (JAS) classes that came with Tango 2000? The User Guide says there should be sources for Hello.class and Echo.class installed in PVSW\Tango2000\java\com\pvsw\tango\jas but I can't find these.*
** *I got jastest.taf to work and now need to know how to implement customProcessing and the other Action class methods that appearantly need to be used for any new classes I build.*
** *Lars*
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
