A C D E F G H I M N O R S T U V

A

AbstractAggregatedValidity - class org.apache.excalibur.source.impl.validity.AbstractAggregatedValidity.
The base class for the aggregation implementations
AbstractAggregatedValidity() - Constructor for class org.apache.excalibur.source.impl.validity.AbstractAggregatedValidity
 
AbstractSource - class org.apache.excalibur.source.impl.AbstractSource.
Abstract base class for a source implementation.
AbstractSource() - Constructor for class org.apache.excalibur.source.impl.AbstractSource
 
add(DeferredValidity) - Method in class org.apache.excalibur.source.impl.validity.DeferredAggregatedValidity
 
add(SourceParameters) - Method in class org.apache.excalibur.source.SourceParameters
Add all parameters from the incoming parameters object.
add(SourceValidity) - Method in class org.apache.excalibur.source.impl.validity.AbstractAggregatedValidity
 
AggregatedValidity - class org.apache.excalibur.source.impl.validity.AggregatedValidity.
A validation object using a List.
AggregatedValidity() - Constructor for class org.apache.excalibur.source.impl.validity.AggregatedValidity
 
appendParameters(String, Parameters) - Static method in class org.apache.excalibur.source.SourceUtil
Append parameters to the uri.
appendParameters(String, SourceParameters) - Static method in class org.apache.excalibur.source.SourceUtil
Append parameters to the uri Each parameter is appended to the uri with "parameter=value", the parameters are separated by "&".

C

canCancel(OutputStream) - Method in interface org.apache.excalibur.source.ModifiableSource
Can the data sent to an OutputStream returned by ModifiableSource.getOutputStream() be cancelled ?
canCancel(OutputStream) - Method in class org.apache.excalibur.source.impl.FileSource
Can the data sent to an OutputStream returned by FileSource.getOutputStream() be cancelled ?
cancel(OutputStream) - Method in interface org.apache.excalibur.source.ModifiableSource
Cancel the data sent to an OutputStream returned by ModifiableSource.getOutputStream().
cancel(OutputStream) - Method in class org.apache.excalibur.source.impl.FileSource
Cancel the data sent to an OutputStream returned by FileSource.getOutputStream().
checkInfos() - Method in class org.apache.excalibur.source.impl.ResourceSource
 
checkInfos() - Method in class org.apache.excalibur.source.impl.AbstractSource
 
clone() - Method in class org.apache.excalibur.source.SourceParameters
Returns a copy of the parameters object.
containsParameter(String) - Method in class org.apache.excalibur.source.SourceParameters
Test if a value for this parameter exists.
contextualize(Context) - Method in class org.apache.excalibur.source.impl.SourceResolverImpl
Get the context
copy(InputStream, OutputStream) - Static method in class org.apache.excalibur.source.SourceUtil
Copy the contents of an InputStream to an OutputStream.
copy(Source, Source) - Static method in class org.apache.excalibur.source.SourceUtil
Copy the source to a specified destination.
copyTo(Source) - Method in interface org.apache.excalibur.source.MoveableSource
Copy the current source to a specified destination.
copyTo(Source) - Method in class org.apache.excalibur.source.impl.FileSource
 
create(Configuration) - Static method in class org.apache.excalibur.source.SourceParameters
Create a new parameters object from the children of the configuration.
createFileSource(String) - Method in class org.apache.excalibur.source.impl.URLSourceFactory
Create an file-based source.
createURLSource(URL, Map) - Method in class org.apache.excalibur.source.impl.URLSourceFactory
Create an URL-based source.

D

DeferredAggregatedValidity - class org.apache.excalibur.source.impl.validity.DeferredAggregatedValidity.
A validation object using a List.
DeferredAggregatedValidity() - Constructor for class org.apache.excalibur.source.impl.validity.DeferredAggregatedValidity
 
DeferredValidity - interface org.apache.excalibur.source.impl.validity.DeferredValidity.
This object delivers a validity object if required.
delete() - Method in interface org.apache.excalibur.source.ModifiableSource
Delete the source
delete() - Method in class org.apache.excalibur.source.impl.FileSource
Delete the source.
dispose() - Method in class org.apache.excalibur.source.impl.SourceResolverImpl
 

E

encode(String) - Static method in class org.apache.excalibur.source.SourceUtil
Translates a string into x-www-form-urlencoded format.
encodeBASE64(byte[]) - Static method in class org.apache.excalibur.source.SourceUtil
BASE 64 encoding.
encodeBASE64(String) - Static method in class org.apache.excalibur.source.SourceUtil
BASE 64 encoding.
exists() - Method in interface org.apache.excalibur.source.Source
Does this source exist ?
exists() - Method in class org.apache.excalibur.source.impl.URLSource
Does this source exist ?
exists() - Method in class org.apache.excalibur.source.impl.ResourceSource
 
exists() - Method in class org.apache.excalibur.source.impl.FileSource
Does this source actually exist ?
ExpiresValidity - class org.apache.excalibur.source.impl.validity.ExpiresValidity.
A validation object that holds an expiration date.
ExpiresValidity(long) - Constructor for class org.apache.excalibur.source.impl.validity.ExpiresValidity
Constructor

F

FileSource - class org.apache.excalibur.source.impl.FileSource.
A ModifiableTraversableSource for filesystem objects.
FileSource(String) - Constructor for class org.apache.excalibur.source.impl.FileSource
Builds a FileSource given an URI, which doesn't necessarily have to start with "file:"
FileSource(String, File) - Constructor for class org.apache.excalibur.source.impl.FileSource
Builds a FileSource, given an URI scheme and a File.
FileSourceFactory - class org.apache.excalibur.source.impl.FileSourceFactory.
A factory for filesystem-based sources (see FileSource).
FileSourceFactory() - Constructor for class org.apache.excalibur.source.impl.FileSourceFactory
 
FileTimeStampValidity - class org.apache.excalibur.source.impl.validity.FileTimeStampValidity.
A validation object for time-stamps.
FileTimeStampValidity(File) - Constructor for class org.apache.excalibur.source.impl.validity.FileTimeStampValidity
 
FileTimeStampValidity(File, long) - Constructor for class org.apache.excalibur.source.impl.validity.FileTimeStampValidity
 
FileTimeStampValidity(String) - Constructor for class org.apache.excalibur.source.impl.validity.FileTimeStampValidity
 

G

getCause() - Method in class org.apache.excalibur.source.SourceException
Retrieve the cause of the exception.
getChild(String) - Method in interface org.apache.excalibur.source.TraversableSource
Get a child of this source, given its name.
getChild(String) - Method in class org.apache.excalibur.source.impl.FileSource
 
getChildren() - Method in interface org.apache.excalibur.source.TraversableSource
Get the children of this source if this source is traversable.
getChildren() - Method in class org.apache.excalibur.source.impl.FileSource
 
getClassLoader() - Method in class org.apache.excalibur.source.impl.ResourceSource
 
getContentLength() - Method in interface org.apache.excalibur.source.Source
Get the content length of this source's content or -1 if the length is unknown.
getContentLength() - Method in class org.apache.excalibur.source.impl.FileSource
 
getContentLength() - Method in class org.apache.excalibur.source.impl.AbstractSource
Return the content length of the content or -1 if the length is unknown
getEncodedQueryString() - Method in class org.apache.excalibur.source.SourceParameters
Build a query string and encode each parameter value.
getFile() - Method in class org.apache.excalibur.source.impl.FileSource
Get the associated file
getFile() - Method in class org.apache.excalibur.source.impl.validity.FileTimeStampValidity
 
getFile(Source) - Static method in class org.apache.excalibur.source.SourceUtil
Return a File object associated with the Source object.
getFirstParameters() - Method in class org.apache.excalibur.source.SourceParameters
Create a Parameters object.
getInfos() - Method in class org.apache.excalibur.source.impl.URLSource
Get the last modification date and content length of the source.
getInfos() - Method in class org.apache.excalibur.source.impl.AbstractSource
Get the last modification date and content length of the source.
getInputStream() - Method in interface org.apache.excalibur.source.Source
Return an InputStream to read from the source.
getInputStream() - Method in class org.apache.excalibur.source.impl.URLSource
Return an InputStream object to read from the source.
getInputStream() - Method in class org.apache.excalibur.source.impl.ResourceSource
Return an InputStream object to read from the source.
getInputStream() - Method in class org.apache.excalibur.source.impl.FileSource
 
getInputStream() - Method in class org.apache.excalibur.source.impl.AbstractSource
Return an InputStream object to read from the source.
getLastModified() - Method in interface org.apache.excalibur.source.Source
Get the last modification date of this source.
getLastModified() - Method in class org.apache.excalibur.source.impl.FileSource
 
getLastModified() - Method in class org.apache.excalibur.source.impl.AbstractSource
Get the last modification date of the source or 0 if it is not possible to determine the date.
getMimeType() - Method in interface org.apache.excalibur.source.Source
Get the mime-type of the content described by this object.
getMimeType() - Method in class org.apache.excalibur.source.impl.URLSource
The mime-type of the content described by this object.
getMimeType() - Method in class org.apache.excalibur.source.impl.ResourceSource
 
getMimeType() - Method in class org.apache.excalibur.source.impl.FileSource
 
getMimeType() - Method in class org.apache.excalibur.source.impl.AbstractSource
The mime-type of the content described by this object.
getName() - Method in interface org.apache.excalibur.source.TraversableSource
Return the name of this source relative to its parent.
getName() - Method in class org.apache.excalibur.source.impl.FileSource
 
getOutputStream() - Method in interface org.apache.excalibur.source.ModifiableSource
Return an OutputStream to write to.
getOutputStream() - Method in class org.apache.excalibur.source.impl.FileSource
Get an InputStream where raw bytes can be written to.
getParameter(String) - Method in class org.apache.excalibur.source.SourceParameters
Get the value of a parameter.
getParameter(String, String) - Method in class org.apache.excalibur.source.SourceParameters
Get the value of a parameter.
getParameterAsBoolean(String, boolean) - Method in class org.apache.excalibur.source.SourceParameters
Get the boolean value of a parameter.
getParameterAsInteger(String, int) - Method in class org.apache.excalibur.source.SourceParameters
Get the integer value of a parameter.
getParameterNames() - Method in class org.apache.excalibur.source.SourceParameters
Get all parameter names.
getParameterValues(String) - Method in class org.apache.excalibur.source.SourceParameters
Get all values of a parameter.
getParent() - Method in interface org.apache.excalibur.source.TraversableSource
Get the parent of this source as a Source object.
getParent() - Method in class org.apache.excalibur.source.impl.FileSource
 
getQueryString() - Method in class org.apache.excalibur.source.SourceParameters
Build a query string.
getScheme() - Method in interface org.apache.excalibur.source.Source
Return the URI scheme identifier, i.e.
getScheme() - Method in class org.apache.excalibur.source.impl.FileSource
 
getScheme() - Method in class org.apache.excalibur.source.impl.AbstractSource
Return the protocol identifier.
getScheme(String) - Static method in class org.apache.excalibur.source.SourceUtil
Get the scheme of an absolute URI.
getSource(String, Map) - Method in interface org.apache.excalibur.source.SourceFactory
Get a Source object.
getSource(String, Map) - Method in class org.apache.excalibur.source.impl.URLSourceFactory
 
getSource(String, Map) - Method in class org.apache.excalibur.source.impl.ResourceSourceFactory
Get a Source object.
getSource(String, Map) - Method in class org.apache.excalibur.source.impl.FileSourceFactory
 
getSpecificPart(String) - Static method in class org.apache.excalibur.source.SourceUtil
Get the scheme-specific part of an absolute URI.
getTimeStamp() - Method in class org.apache.excalibur.source.impl.validity.TimeStampValidity
 
getTimeStamp() - Method in class org.apache.excalibur.source.impl.validity.FileTimeStampValidity
 
getURI() - Method in interface org.apache.excalibur.source.Source
Get the absolute URI for this source.
getURI() - Method in class org.apache.excalibur.source.impl.FileSource
 
getURI() - Method in class org.apache.excalibur.source.impl.AbstractSource
Return the unique identifer for this source
getUserInfo() - Method in class org.apache.excalibur.source.impl.URLSource
Check if the URL class supports the getUserInfo() method which is introduced in jdk 1.3
getValidity() - Method in interface org.apache.excalibur.source.Source
Get the Validity object.
getValidity() - Method in class org.apache.excalibur.source.impl.URLSource
Get the Validity object.
getValidity() - Method in class org.apache.excalibur.source.impl.ResourceSource
Returns NOPValidity.SHARED_INSTANCE since a resource doesn't change.
getValidity() - Method in class org.apache.excalibur.source.impl.FileSource
Return a validity object based on the file's modification date.
getValidity() - Method in class org.apache.excalibur.source.impl.AbstractSource
Get the Validity object.
getValidity() - Method in interface org.apache.excalibur.source.impl.validity.DeferredValidity
Return the validity

H

hasParameters() - Method in class org.apache.excalibur.source.SourceParameters
Test if there are any parameters.

I

indexOfSchemeColon(String) - Static method in class org.apache.excalibur.source.SourceUtil
Get the position of the scheme-delimiting colon in an absolute URI, as specified by RFC 2396, appendix A.
init(URL, Map) - Method in class org.apache.excalibur.source.impl.URLSource
Initialize a new object from a URL.
INVALID - Static variable in interface org.apache.excalibur.source.SourceValidity
 
isCollection() - Method in interface org.apache.excalibur.source.TraversableSource
Is this source a collection, i.e.
isCollection() - Method in class org.apache.excalibur.source.impl.FileSource
 
isValid() - Method in interface org.apache.excalibur.source.SourceValidity
Check if the component is still valid.
isValid() - Method in class org.apache.excalibur.source.impl.validity.TimeStampValidity
Check if the component is still valid.
isValid() - Method in class org.apache.excalibur.source.impl.validity.NOPValidity
Check if the component is still valid.
isValid() - Method in class org.apache.excalibur.source.impl.validity.FileTimeStampValidity
Check if the component is still valid.
isValid() - Method in class org.apache.excalibur.source.impl.validity.ExpiresValidity
Checks if the expires date is already reached.
isValid() - Method in class org.apache.excalibur.source.impl.validity.DeferredAggregatedValidity
Check if the component is still valid.
isValid() - Method in class org.apache.excalibur.source.impl.validity.AggregatedValidity
Check if the component is still valid.
isValid(SourceValidity) - Method in interface org.apache.excalibur.source.SourceValidity
Check if the component is still valid.
isValid(SourceValidity) - Method in class org.apache.excalibur.source.impl.validity.TimeStampValidity
 
isValid(SourceValidity) - Method in class org.apache.excalibur.source.impl.validity.NOPValidity
 
isValid(SourceValidity) - Method in class org.apache.excalibur.source.impl.validity.FileTimeStampValidity
 
isValid(SourceValidity) - Method in class org.apache.excalibur.source.impl.validity.ExpiresValidity
This method is never invoked as ExpiresValidity.isValid() can always perform the complete check.
isValid(SourceValidity) - Method in class org.apache.excalibur.source.impl.validity.DeferredAggregatedValidity
 
isValid(SourceValidity) - Method in class org.apache.excalibur.source.impl.validity.AggregatedValidity
 

M

m_baseURL - Variable in class org.apache.excalibur.source.impl.SourceResolverImpl
The base URL
m_cachedLastModificationDate - Variable in class org.apache.excalibur.source.impl.URLSource
 
m_cachedValidity - Variable in class org.apache.excalibur.source.impl.URLSource
the prev returned SourceValidity
m_connection - Variable in class org.apache.excalibur.source.impl.URLSource
The connection for a real URL
m_exists - Variable in class org.apache.excalibur.source.impl.URLSource
Does this source exist ?
m_factorySelector - Variable in class org.apache.excalibur.source.impl.SourceResolverImpl
The special Source factories
m_isPost - Variable in class org.apache.excalibur.source.impl.URLSource
Is this a post?
m_manager - Variable in class org.apache.excalibur.source.impl.SourceResolverImpl
The component m_manager
m_mimeType - Variable in class org.apache.excalibur.source.impl.URLSource
The content type (if known)
m_parameters - Variable in class org.apache.excalibur.source.impl.URLSource
The SourceParameters used for a post
m_url - Variable in class org.apache.excalibur.source.impl.URLSource
The URL of the source
makeCollection() - Method in interface org.apache.excalibur.source.ModifiableTraversableSource
If it doesn't already exist, ensure this source is traversable (equivalent to File.mkdirs())
makeCollection() - Method in class org.apache.excalibur.source.impl.FileSource
 
METHOD - Static variable in interface org.apache.excalibur.source.SourceResolver
With this parameter you can specify the method to use for getting the content.
ModifiableSource - interface org.apache.excalibur.source.ModifiableSource.
A Source that can be written to.
ModifiableTraversableSource - interface org.apache.excalibur.source.ModifiableTraversableSource.
A modifiable traversable source.
move(Source, Source) - Static method in class org.apache.excalibur.source.SourceUtil
Move the source to a specified destination.
MoveableSource - interface org.apache.excalibur.source.MoveableSource.
This class marks a source to be able to moved and copied to serveral other locations.
moveTo(Source) - Method in interface org.apache.excalibur.source.MoveableSource
Move the current source to a specified destination.
moveTo(Source) - Method in class org.apache.excalibur.source.impl.FileSource
 

N

NOPValidity - class org.apache.excalibur.source.impl.validity.NOPValidity.
A validation object which is always valid.
NOPValidity() - Constructor for class org.apache.excalibur.source.impl.validity.NOPValidity
 

O

org.apache.excalibur.source - package org.apache.excalibur.source
 
org.apache.excalibur.source.impl - package org.apache.excalibur.source.impl
 
org.apache.excalibur.source.impl.validity - package org.apache.excalibur.source.impl.validity
 

R

refresh() - Method in interface org.apache.excalibur.source.Source
Refresh the content of this object after the underlying data content has changed.
refresh() - Method in class org.apache.excalibur.source.impl.URLSource
Refresh this object and update the last modified date and content length.
refresh() - Method in class org.apache.excalibur.source.impl.FileSource
 
refresh() - Method in class org.apache.excalibur.source.impl.AbstractSource
Refresh this object and update the last modified date and content length.
release(Source) - Method in interface org.apache.excalibur.source.SourceResolver
Releases a resolved resource.
release(Source) - Method in interface org.apache.excalibur.source.SourceFactory
Release a Source object.
release(Source) - Method in class org.apache.excalibur.source.impl.URLSourceFactory
 
release(Source) - Method in class org.apache.excalibur.source.impl.SourceResolverImpl
Releases a resolved resource
release(Source) - Method in class org.apache.excalibur.source.impl.ResourceSourceFactory
Release a Source object.
release(Source) - Method in class org.apache.excalibur.source.impl.FileSourceFactory
Does nothing, since FileSources don't need to be released.
removeParameter(String) - Method in class org.apache.excalibur.source.SourceParameters
Remove all values for this parameter
resolveURI(String) - Method in interface org.apache.excalibur.source.SourceResolver
Get a Source object.
resolveURI(String) - Method in class org.apache.excalibur.source.impl.SourceResolverImpl
Get a Source object.
resolveURI(String, String, Map) - Method in interface org.apache.excalibur.source.SourceResolver
Get a Source object.
resolveURI(String, String, Map) - Method in class org.apache.excalibur.source.impl.SourceResolverImpl
Get a Source object.
ResourceSource - class org.apache.excalibur.source.impl.ResourceSource.
Description of a source which is described by the resource protocol which gets a resource from the classloader.
ResourceSource(String) - Constructor for class org.apache.excalibur.source.impl.ResourceSource
 
ResourceSourceFactory - class org.apache.excalibur.source.impl.ResourceSourceFactory.
A factory for the Resource protocol
ResourceSourceFactory() - Constructor for class org.apache.excalibur.source.impl.ResourceSourceFactory
 
ROLE - Static variable in interface org.apache.excalibur.source.SourceResolver
 
ROLE - Static variable in interface org.apache.excalibur.source.SourceFactory
 

S

service(ServiceManager) - Method in class org.apache.excalibur.source.impl.SourceResolverImpl
Set the current ComponentLocator instance used by this Composable.
setContentLength(long) - Method in class org.apache.excalibur.source.impl.AbstractSource
Sets the contentLength.
setLastModified(long) - Method in class org.apache.excalibur.source.impl.AbstractSource
Sets the lastModificationDate.
setParameter(String, String) - Method in class org.apache.excalibur.source.SourceParameters
Add a parameter.
setScheme(String) - Method in class org.apache.excalibur.source.impl.AbstractSource
Sets the scheme.
setSingleParameterValue(String, String) - Method in class org.apache.excalibur.source.SourceParameters
Set the value of this parameter to the given value.
setSystemId(String) - Method in class org.apache.excalibur.source.impl.AbstractSource
Sets the systemId.
SHARED_INSTANCE - Static variable in class org.apache.excalibur.source.impl.validity.NOPValidity
 
Source - interface org.apache.excalibur.source.Source.
This interface provides a simple interface for accessing a source of data.
SourceException - exception org.apache.excalibur.source.SourceException.
This Exception is thrown every time there is a problem in processing a source.
SourceException(String) - Constructor for class org.apache.excalibur.source.SourceException
Construct a new SourceException instance.
SourceException(String, Throwable) - Constructor for class org.apache.excalibur.source.SourceException
Construct a new SourceException instance.
SourceFactory - interface org.apache.excalibur.source.SourceFactory.
A source factory creates new source objects.
SourceNotFoundException - exception org.apache.excalibur.source.SourceNotFoundException.
This Exception should be thrown if the source could not be found.
SourceNotFoundException(String) - Constructor for class org.apache.excalibur.source.SourceNotFoundException
Construct a new SourceNotFoundException instance.
SourceNotFoundException(String, Throwable) - Constructor for class org.apache.excalibur.source.SourceNotFoundException
Construct a new SourceNotFoundException instance.
SourceParameters - class org.apache.excalibur.source.SourceParameters.
This class holds parameters for a Source object.
SourceParameters() - Constructor for class org.apache.excalibur.source.SourceParameters
Standard Constructor creating an empty parameters object
SourceParameters(String) - Constructor for class org.apache.excalibur.source.SourceParameters
Construct a new object from a queryString
SourceResolver - interface org.apache.excalibur.source.SourceResolver.
Base interface for resolving a source by system identifiers.
SourceResolverImpl - class org.apache.excalibur.source.impl.SourceResolverImpl.
This is the default implemenation of a SourceResolver.
SourceResolverImpl() - Constructor for class org.apache.excalibur.source.impl.SourceResolverImpl
 
SourceUtil - class org.apache.excalibur.source.SourceUtil.
Utility class for source resolving.
SourceUtil() - Constructor for class org.apache.excalibur.source.SourceUtil
 
SourceValidity - interface org.apache.excalibur.source.SourceValidity.
A SourceValidity object contains all information to check if a Source object is still valid.

T

TimeStampValidity - class org.apache.excalibur.source.impl.validity.TimeStampValidity.
A validation object for time-stamps.
TimeStampValidity(long) - Constructor for class org.apache.excalibur.source.impl.validity.TimeStampValidity
 
toString() - Method in class org.apache.excalibur.source.SourceParameters
Overriding toString
toString() - Method in class org.apache.excalibur.source.impl.validity.TimeStampValidity
 
toString() - Method in class org.apache.excalibur.source.impl.validity.NOPValidity
 
toString() - Method in class org.apache.excalibur.source.impl.validity.FileTimeStampValidity
 
toString() - Method in class org.apache.excalibur.source.impl.validity.ExpiresValidity
 
toString() - Method in class org.apache.excalibur.source.impl.validity.DeferredAggregatedValidity
 
toString() - Method in class org.apache.excalibur.source.impl.validity.AbstractAggregatedValidity
 
TraversableSource - interface org.apache.excalibur.source.TraversableSource.
A traversable source is a source that can have children and a parent, like a file system.

U

UNKNOWN - Static variable in interface org.apache.excalibur.source.SourceValidity
 
UNKNWON - Static variable in interface org.apache.excalibur.source.SourceValidity
Deprecated. because it has been misspelled, use UNKNOWN of course
URI_PARAMETERS - Static variable in interface org.apache.excalibur.source.SourceResolver
With this parameter you can specify additional request parameters which are appended to the URI.
URLSource - class org.apache.excalibur.source.impl.URLSource.
Description of a source which is described by an URL.
URLSource() - Constructor for class org.apache.excalibur.source.impl.URLSource
Constructor
URLSourceFactory - class org.apache.excalibur.source.impl.URLSourceFactory.
A factory for a URL wrapper
URLSourceFactory() - Constructor for class org.apache.excalibur.source.impl.URLSourceFactory
 

V

VALID - Static variable in interface org.apache.excalibur.source.SourceValidity
 

A C D E F G H I M N O R S T U V

Copyright © 2000-2003 Apache Avalon Project. All Rights Reserved.