Package net.sf.jguiraffe.locators
This package contains interfaces and classes for locating resources in a generic way.
The main interface defined in this package is Locator
. A
locator is a generic pointer to a resource. Concrete implementations
of this interface support specific ways of obtaining a resource, e.g.
- from a URL
- form the file system
- from the class path
- from data kept in memory
Locator
interface all these
different variants can be handled transparently.
$Id: package.html 205 2012-01-29 18:29:57Z oheger $
-
Interface Summary Interface Description Locator Definition of the baseLocator
interface. -
Class Summary Class Description AbstractLocator An adapter class for implementing concreteLocator
classes.AbstractStreamLocator An abstract base class forLocator
implementations that mainly operate on streams.ByteArrayLocator A specializedLocator
implementation that provides access to data stored in memory as a byte array.ClassPathLocator A specificLocator
implementation that can obtain resources from the class path.FileLocator A concreteLocator
class that represents files.LocatorConverter A specializedConverter
implementation dealing withLocator
objects.LocatorUtils A helper class for locating resources.LocatorWrapper A wrapper implementation for locators.URLLocator A specializedLocator
implementation that operates on URLs. -
Exception Summary Exception Description LocatorException An exception class for reporting error conditions related to
objects.Locator