Programming Resources
For Fun and Learning
Charles Cusack
Computer Science
Hope College
main

Python
C++

JAVA


PHP
SQL
Alice

FileIO


Description

Download jar file (Right click)

DumbList.java
TextEditor.java
TextVersusBinary.java

Description
The purpose of the classes in the FileIO example is to demonstrate several ways of performing file I/O in Java.
  • TextEditor class is a very simple text editor that allows the user to read and write files, and edit them in a very crude window.
  • DumbList class demonstrates how to do file I/O with both text and binary files.
  • TextVersusBinary is a class which attempts to show the difference between storing numbers as text and binary.

See the java files for more details--they have a lot of comments.

The jar file includes the BlueJ project files, and it is an executable jar, and will execute the DumbList's main method.