| Package | Description |
|---|---|
| org.apache.excalibur.source | |
| org.apache.excalibur.source.impl |
| Modifier and Type | Class and Description |
|---|---|
class |
SourceNotFoundException
This Exception should be thrown if the source could not be found.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SourceUtil.copy(Source source,
Source destination)
Copy the source to a specified destination.
|
void |
MoveableSource.copyTo(Source destination)
Copy the current source to a specified destination.
|
void |
ModifiableSource.delete()
Delete the source
|
Source |
TraversableSource.getChild(java.lang.String name)
Get a child of this source, given its name.
|
java.util.Collection |
TraversableSource.getChildren()
Get the children of this source if this source is traversable.
|
Source |
TraversableSource.getParent()
Get the parent of this source as a
Source object. |
void |
ModifiableTraversableSource.makeCollection()
If it doesn't already exist, ensure this source is traversable
(equivalent to
File.mkdirs()) |
static void |
SourceUtil.move(Source source,
Source destination)
Move the source to a specified destination.
|
void |
MoveableSource.moveTo(Source destination)
Move the current source to a specified destination.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileSource.cancel(java.io.OutputStream stream)
Cancel the data sent to an
OutputStream returned by
FileSource.getOutputStream(). |
void |
FileSource.copyTo(Source destination) |
void |
FileSource.delete()
Delete the source.
|
void |
CommonsVFSSource.delete()
Deletes the source.
|
void |
FTPSource.delete()
Delete the source.
|
void |
HTTPClientSource.delete()
Deletes the referenced resource.
|
Source |
FileSource.getChild(java.lang.String name) |
java.util.Collection |
FileSource.getChildren() |
java.io.InputStream |
CommonsVFSSource.getInputStream()
Obtain an
InputStream for this source. |
java.io.InputStream |
AbstractSource.getInputStream()
Return an
InputStream object to read from the source. |
java.io.InputStream |
URLSource.getInputStream()
Return an
InputStream object to read from the source. |
java.io.InputStream |
ResourceSource.getInputStream()
Return an
InputStream object to read from the source. |
Source |
FileSource.getParent() |
Source |
ResourceSourceFactory.getSource(java.lang.String location,
java.util.Map parameters)
Get a
Source object. |
private void |
FileSource.init(java.lang.String scheme,
java.io.File file) |
void |
FileSource.makeCollection() |
void |
FileSource.moveTo(Source destination) |
Source |
SourceResolverImpl.resolveURI(java.lang.String location)
Get a
Source object. |
Source |
SourceResolverImpl.resolveURI(java.lang.String location,
java.lang.String baseURI,
java.util.Map parameters)
Get a
Source object. |
| Constructor and Description |
|---|
FileSource(java.lang.String uri)
Builds a FileSource given an URI, which doesn't necessarily have to start with "file:"
|
FileSource(java.lang.String scheme,
java.io.File file)
Builds a FileSource, given an URI scheme and a File.
|