FileDocCategorySizeDatePackage
OpenFileByName.javaAPI DocExample357Wed Mar 07 16:25:12 GMT 2001None

OpenFileByName

public class OpenFileByName extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		BufferedReader is = new BufferedReader(new FileReader("myFile.txt"));
		BufferedOutputStream bytesOut = new BufferedOutputStream(
			new FileOutputStream("bytes.dat"));

		// Code here to read from is, write to bytesOut

		bytesOut.close();