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:
| details about the current version. | download source and executable to run this Applet on your own machine as a stand-alone application. |
home |
Canadian Mind Products | |||
| 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 | |||