CMP File I/O Amanuensis CMP File I/O Amanuensis
home Applets no local find frame, full screen Google search web for topic jump to footer translate with Babelfish by Roedy Green ©1996-2008 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 2007-08-05 version was a major rewrite. There are undoubtedly errors in the code it generates, though I can guarantee all code it generates will at least compile. It is a huge program with fiendishly baroque interactions. It is perhaps the most difficult to debug and proofread program I have ever written. Please report any errors in the code in generates or suggestions for improvement.

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

Nio is particularly useful when you have:

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.

If the above File I/O Amanuensis Java Applet (that can also be run as an application) does not work…

  1. This Java Applet (that can also be run as an application) needs Java 1.5 or later, version 1.5.0_15 or later recommended, ideally 1.6.0_06 and a recent browser.
  2. You should see an Applet above looking much like the screenshot. If you don’t, the following should help you get it working:
  3. If you are using Microsoft Internet Explorer, try another browser. Seriously. Microsoft has taken great pains, over and over, to screw up Java and every other mult-platform standardisation.
  4. If you are using Internet Explorer 7, you must allow blocked content permission for Active X to run. This also gives permission to Java to run. Click the Information bar, and then click Allow blocked content. Unfortunately, this also allows dangerous ActiveX code to run. However, you must do this in order to get access to perfectly-safe Java Applets running in a sandbox. This is part of Microsoft’s war on Java. Don’t put up with it! Use a different browser.
  5. To ensure your Java is up to date, check with Wassup.
  6. If the above Java Applet (that can also be run as an application) does not work, check the Java console for error messages.
  7. If the above Applet hybrid does not work, you might have better luck with the downloadable version.
  8. If you still can’t get the program working click HELP for more detail.
  9. If you can’t get the program working after trying the advice above and from the HELP button below, have bugs to report or ideas to improve the program or its documentation, please send me an email atemail Roedy Green.
Java powered   Get New Java  Get New Browser   Help
precis of the current version. download source and executable to run this Applet on your own machine as a stand-alone application.
PackageVersionReleasedLicenceLanguageNotes 
fileio
File I/O Amanuensis
5.7 2008-04-02 free Java
summary / PAD description / screenshot for the current version of File I/O Amanuensis. Applet to show you how write Java I/O code to read and write files, URLs, HTTP CGI/GET/POST, sockets, StringReaders etc. You select what sort of i/o you need and it generates the Java source code.
download File I/O Amanuensis source and compiled class files to run on your own machine as an application or Applet. First install the most recent Java. To install, extract the zip download with Winzip, (or similar unzip utility) into any directory you please, often J:\ — ticking off the “user folder names” option. To run as an application,type:
java -jar J:\com\mindprod\fileio\fileio.jar
adjusting as necessary to account for where the jar file is.
download ASP PAD XML program description for the current version of File I/O Amanuensis.
File I/O Amanuensis is free. Full source included. You may even include the source code, modified or unmodified in commercial programs that you write and distribute. Non-military use only.
   
 
Conversion Amanuensis
Datagram
Files and directories
http
ImageIO
nio
other downloads
StreamTokenizer
StringTokenizer
UnifiedIO

CMP_homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.17] The information on this page is for non-military use only.
You are visitor number 94,463. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/Mindprod website mirror)
http://mindprod.com/applet/fileio.html J:\mindprod\applet\fileio.html