Basic HTML version of Foils prepared Sept 21 1998

Foil 44 Table for Java file and network access

From Java Tutorial 98- 4: Multi-Treading, Useful Java Classes, I/O and Networking NAVO Tutorial -- Sept 23 1998. by Geoffrey C. Fox, Nancy McCracken


1 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
2 NL NF AV JA
3 read local file no no yes yes
4 write local file no no yes yes
5 get file information no no yes yes
6 delete file no no no yes
7 run another program no no yes yes
8 read the user.name proper no yes yes yes
9 connect to network port on server yes yes yes yes
10 connect to network port on other host no yes yes yes
11 load Java library no yes yes yes
12 call exit no no yes yes
13 create a pop-up window with warning yes yes yes yes

in Table To:


© 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 Sat Nov 28 1998