Basic HTML version of Foils prepared 18 May 97

Foil 31 Table for Java file and network access

From Java Tutorial - Spring 1997 Part 4: Multithreading, useful Java classes, I/O, Networking, and the future Peking Tutorial, Web Certificate -- Spring-Summer 1997. by Nancy J. McCracken,Geoffrey C. Fox


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
2 JA - Java application (not an applet)
    • 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

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 Thu Jan 8 1998