File operation applet
http://www.25gy.com/myworks/streamcontrol[java].rar
This is a small program for the files I made, and there is a need.
Stream operation import java.io *;. Class FileStreamTest {public static void main (String [] args) {String filename; int ch = 0; filename = "gongtao.txt"; try {FileInputStream fis = new FileInputStream (filename) WHILE ((CH = fis.read ())! = - 1) {system.out.print ((char) ch);} fis.close ();} catch (ioexception e) {system.out.println e.tostring ());}}}