CMP File I/O Amanuensis

CMP home Amanuenses Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

This Applet will help you write Java code. Instead of memorising the dozens of I/O classes and methods, just select what you want to do, and let the amanuensis generate the code, the paste it into your source. Please pass on bugs and suggestions for improvement. The code is messy, but this just reflects the chaos in Sun's design of java.io. It is a bit like doing jig-saw puzzles trying to find ways to fit the classes together. The asymmetry is astounding.

The File I/O Amanuensis does not yet give you any help with the Java 1.4.1 javax.imageio.ImageIO class or the java.nio classes: Buffer, ByteBuffer, ByteOrder, CharBuffer, DoubleBuffer, FloatBuffer, IntBuffer, LongBuffer, MappedByteBuffer or ShortBuffer.

Binary is a compact, machine-friendly, human-unintelligible format. For human readable i/o, Java works with Strings of characters. You separately convert these to and from internal binary format e.g. int. See the conversion Amanuensis for how.

This Applet requires one of the following up-to-date browsers:

Opera Opera 7.5 with the Java 1.4.2_04 Plug-in
Mozilla Mozilla 1.6 with the Java 1.4.2_04 Plug-in
Netscape Netscape 7.1 with the Java 1.4.2_04 Plug-in
IE Microsoft Internet Explorer 6.0.2800 with the Java 1.4.2_04 Plug-in
Get Java Sun's Java 1.4.2_04 Plug-in add on
Click the corresponding browser icon to download the latest browser software

details about the current version. download source and executable to run this Applet on your own machine as a stand-alone application.
Files and directories ¤ nio ¤ StreamTokenizer ¤ StringTokenizer ¤ UnifiedIO


CMP logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 40793.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/fileio.html J:\mindprod\fileio.html