Basic HTML version of Foils prepared 17 Nov 97

Foil 44 Table for Java file and network access

From Java Tutorial, July 1, 1996 CEWES Tutorial, CPS606, JSU Class CSC499 -- July 22-25 1997, Fall 97. by Nancy J. McCracken,Geoffrey C. Fox, Tom Scavo


This table shows what Java programs can do in the following four cases:
  • NL - Netscape loading a URL for applet
  • NF - Netscape loading a local file for applet
  • AV - Applet viewer
JA - Java application (not an applet)
    • NL NF AV JA
read local file no no yes yes
write local file no no yes yes
get file information no no yes yes
delete file no no no yes
run another program no no yes yes
read the user.name proper no yes yes yes
connect to network port on server yes yes yes yes
connect to network port on other host no yes yes yes
load Java library no yes yes yes
call exit no no yes yes
create a pop-up window with warning yes yes yes



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Apr 1 1998