Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ESC/Java2 © 2003,2004,2005 David Cok and Joseph Kiniry © 2005 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package javafe.filespace

Interface Summary
Filter | A simple filter interface for use in filtering out values.

Class Summary
ClassPath | Functions for dealing with classpaths.
EmptyEnum | This class simply implements an enumeration with no elements.
Extension | This module contains functions for decomposing filenames (Strings) into a basename and an extension.
ExtTree | A ExtTree is a HashTree that starts out as just a root node, but may be extended at any time by (recursively) adding children.
FileTree | A FileTree is a Tree that mirrors the contents of a disk filesystem; the constructor takes in a directory and returns a tree representing the filesystem rooted at that directory.
FilterEnum | A FilterEnum filters an underlying Enumeration using a client supplied Filter.
HashTree | A HashTree is a Tree that uses a Hashtable to store the map between labels and its direct children.
LeafTree | A LeafTree is a degenerate form of Tree that never contains children.
LookAheadEnum | This layer describes how to implement an `Enumeration` in terms of a single function that returns the next element in a series, or null if the series is exhausted.
PathComponent | This module encapsulates how to convert from a Java path-component name to the hierarchical filespace it denotes.
PkgTree | A PkgTree is a filtered representation of a filespace `Tree` (cf `PathComponent`) where some files and directories that are clearly not part of the Java namespace have been filtered out; the remaining nodes can be divided into two categories: (a) (usually interior) nodes that correspond to potential Java packages, and (b) exterior nodes that correspond to files that reside in one of the potential Java packages and that have an extension (e.g., .java).
PkgTree_MatchesExtension | A filter for accepting only node's with a particular extension: This filter is for the use of the PkgTree class only; if inner classes were available, it would be expressed as an anonymous class.
PkgTree_PackagesOnly | A filter for accepting only packages: This filter is for the use of the PkgTree class only; if inner classes were available, it would be expressed as an anonymous class.
PreloadedTree | A PreloadedTree is a HashTree whose edges map is loaded exactly once before any children-fetching queries complete; the loading is lazy, however, and occurs when the first children-fetching method is called.
Query | This module defines a very simple query interface for use in locating Java files according to a classpath.
Resolve | This module encapsulates how to resolve an ambiguous multi-part identifier (i.e., X.Y.Z) into a package + (possibly a) reference type + a type field/member multi-part identifier, using the output of ClassPath.
Resolve_Result | The normal result type for Resolve.lookup:
SlowQuery | This module implements the Query "interface" by using the Java filespace classes (ClassPath, PathComponent, etc.) provided by the javafe.filespace package.
StringUtil | Misc. utility functions on Strings
Tree | A Tree is a n-ary tree with data at each node; the direct children of a node are unordered but distinguished via String labels on the edges to them.
TreeWalker | This class provides a way to enumerate all the nodes of a given Tree in depth-first pre-order using lexical ordering on siblings.
TreeWalker_ArrayEnum | A Enumeration for enumerating the members of an array of Objects.
UnionTree | A UnionTree is a Tree which represents the union of a series of Tree's.
ZipTree | A ZipTree is a Tree that mirrors the contents of a zipfile; the constructor takes in a pathname and returns a tree representing the filesystem contained in that zipfile.

Exception Summary
Resolve_AmbiguousName | The exceptional result type for lookup:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ESC/Java2 © 2003,2004,2005 David Cok and Joseph Kiniry © 2005 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

The ESC/Java2 Project Homepage