The cucs Package for Java


Version 1.2.0 (Released 6 September 1999)


[ Basic documentation | Examples | Source code | Installing cucs ]

Overview

The cucs package for Java has been implemented at Clemson University to facilitate the use of Java by students. The services provided by classes in the cucs package make it easier to learn how to program in Java by eliminating the need to learn many of the details and concepts that are inherent in the standard Java libraries. For example, the cucs package provides classes to do basic stream input by reading integers, reals, and sequences of nonblank characters in addition to the character- and line-oriented input provided in package java.io. There also are classes that make it much easier to create GUIs than it is when only package java.awt is used.

The classes that are currently provided in the cucs package are:

Using the cucs package

To use (import) the cucs in a Java program, the cucs class library must be in the class path. On the Clemson Department of Computer Science network this is done by adding /pub/faculty/turner/javalib to the CLASSPATH variable (which can be done, for example, by appending the command

setenv CLASSPATH ${CLASSPATH}:/pub/faculty/turner/javalib
to the end of the .cshrc file). The cucs package is installed on the Clemson DCIT network, and no further action is needed to use it.

Versions

(The last version listed is the current version.)

Initial version
Class BasicInputDataReader
Class InputDataReader
Class DataException
Class WindowBase

Version 1.0
Added class Formatter

Version 1.1
Added class BasicOutputDataWriter
Added class OutputDataWriter

Version 1.1.1
Added flush(), checkError(), and writeLine methods to output writers.
Fixed problem of ignoring blanks on readLine in input readers.
Changed the readers (BasicInputDataReader, InputDataReader) to avoid buffering on System.in to improve the interactive characteristics on Dos

Version 1.1.2
Added the BasicDataReader, BasicDataWriter, DataReader, and DataWriter classes (renamed from BasicInputDataReader, BasicOutputDataWriter, InputDataReader, and OutputDataWriter).

Additional information


Last Modified: 6 September 1999