Package org.omegahat.Environment.IO

Filters for processing directories, filenames, zip and Jar files.

See:
          Description

Interface Summary
InputConsumer An interface implemented by an object to allow it be notified of pending input from a source with which it has registered in an interest in such events.
InputFileInt Interface for abstracting the type when locating a "file" via the FileLocatorInt mechanism so that we can handle regular files, zip entries, URLs, etc.
InputSupplier Interface that provides a simple abstract (or unspecified) method for reading objects from a source defined by the different classes implementing this interface.
ObjectDisplayFilter Interface intended to abstract the details of particular mark-up (for example, simple text, HTML/XML/SGML, LaTeX/TeX, binary, etc.) filters that display their output in different forms.
PromptSource An interface implemented by an object to indicate that it can be used to get an interactive prompt.
SelfDisplaying Interface that arbitrary classes can implement to indicate that they wish to control their own display output rather than allow the BasicEvaluator.output() method to use its default approach.
TaskDisplayFilter An interface used to display top-level (interactive) tasks as well as individual objects.
 

Class Summary
ArchiveEntry Represents an entry/record in a zip or jar file.
BasicObjectDisplay This class takes care of displaying different objects on a output stream in simple ascii text with no markup.
BasicTaskDisplay A class used as the default mechanism for displaying the result of evaluating top-level tasks on the user's terminal.
DefaultPromptSource Simple class that provides the basic prompt when the interactive evaluator is not used as the prompt source.
DirectoryFilter A class to be used in the File.list() method as a filter for either excluding or including directories only.
DirectoryNameFilter Extension of the basic DirectoryFilter which allows particular directory names to be matched, and hence excluded or included.
EvaluatorInputConsumer Simple class that connects input from a source of textual input to an evaluator, arranging to parse and evaluate the text.
ExtensionFilenameFilter A filter used to identify files based on their extension.
InputFile Intended to allow the user find a file either in a directory or within a zip/jar file without being concerned about the return type and to have the resulting object provide the high-level methods provided by both a File and ZipFile as much as possible.
InputReader The basic user input reader in the console version of omegahat that is parameterized by a PromptSource and allows listeners (such as an Evaluator, command auditor, history list, etc.) to register and be notified of new input.
NumberedInputReader Extensions of basic InputReader that maintains a count of how many separate inputs it has seen, allowing it to be set to arbitrary values by other objects.
TextFile Simple extension of File so that we can read its contents as a String, StringBuffer, etc.
TruncatedObjectDisplay Output display filter that shows only the beginning and the end of several types of container objects, such as arrays, hashtables, vectors, etc so as not to clutter the work window and print large quantities of unintended output.
TypeTaskDisplay A trivial extension of the standard task display filter that also displays the class of the task's value being displayed.
ZipInputFile Input source from a zip file.
 

Exception Summary
IncompleteInputException Used to signal that the input supplied to an InputConsumer was insufficient, but not an error and that more is needed to complete it.
 

Package org.omegahat.Environment.IO Description

Filters for processing directories, filenames, zip and Jar files. Classes for handling interactive prompt and input, notifying listeners of available input.