| edu.rice.cs.util |
|
A collection of utility classes and packages.
|
| Java Source File Name | Type | Comment |
| AbsRelFile.java | Class | A subclass of File that stores if it should be saved as absolute or relative. |
| ArgumentTokenizer.java | Class | Utility class which can tokenize a String into a list of String arguments,
with behavior similar to parsing command line arguments to a program. |
| ArgumentTokenizerTest.java | Class | Tests that an ArgumentTokenizer can correctly divide up a string
into command line-style arguments. |
| BalancingStreamTokenizer.java | Class | A tokenizer that splits a stream into string tokens while balancing quoting characters. |
| BalancingStreamTokenizerTest.java | Class | Tests for a class to tokenize a stream while balancing quoting characters. |
| DirectorySelector.java | Interface | An interface to give GlobalModel a directory for various operations. |
| FileOpenSelector.java | Interface | An interface for a GUI frame that opens files. |
| FileOps.java | Class | A class to provide some convenient file operations as static methods. |
| FileOpsTest.java | Class | Test cases for
FileOps . |
| GeneralProcessCreator.java | Class | This class abstracts out process creation, similar to ProcessCreator,
which is only available in Java 1.5. |
| InputStreamRedirector.java | Class | Redirects requests for input through the abstract method _getInput(). |
| JoinInputStream.java | Class | |
| Log.java | Class | Logging class to record errors or unexpected behavior to a file. |
| LogTest.java | Class | Test cases for
Log . |
| MD5ChecksumProperties.java | Class | |
| NullFile.java | Class | A null file. |
| OperationCanceledException.java | Class | Indicates that a GUI operation has been canceled, e.g., choosing
a file to save to from a file selection dialog. |
| OutputStreamRedirector.java | Class | Allows an output stream, such as System.out and System.err, to be redirected to another stream. |
| ProcessChain.java | Class | This class represents a piping chain of processes, in which the output of the first
process is piped into the input of the second process, and so on. |
| ProcessCreator.java | Class | This class abstracts out process creation, similar to ProcessCreator,
which is only available in Java 1.5. |
| ProcessSequence.java | Class | This class represents a sequence of processes. |
| ReaderWriterLock.java | Class | This class implements synchronization primitives to solve the classic readers/writers problem without deadlock or
starvation. |
| ReaderWriterLockTest.java | Class | Attempts to test the correctness of the ReaderWriterLock class, which allows multiple reader and writer threads to
safely access a shared resource. |
| RunnableEST.java | Class | Runnable with extended stack trace. |
| StreamRedirectException.java | Class | An exception that occurs while redirecting an output stream into an input stream. |
| StreamRedirectorTest.java | Class | Test suite over InputStreamRedirector. |
| StreamRedirectThread.java | Class | StreamRedirectThread is a thread which copies its input to its output and terminates when it completes. |
| StringOps.java | Class | A class to provide some convenient String operations as static methods. |
| StringOpsTest.java | Class | Test functions of StringOps. |
| UnexpectedException.java | Class | An exception which DrJava throws on an unexpected error.
Many times, we have to catch BadLocationExceptions in
code that accesses DefinitionDocument, even if we know for a
fact that a BadLocationException cannot occur. |
| XMLConfig.java | Class | XML configuration management.
This class uses DOM paths of a specific form to refer to nodes in the XML document.
Consider this XML structure:
abc
def
The path "foo/bar" refers to the value "abc".
The path "foo/fum" refers to the value "def".
If this form is used, there may be only #text or #comment nodes in the node. |
| XMLConfigTest.java | Class | XML configuration management tests. |