|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class marks a source to be able to moved and copied to serveral other locations. This class should only be used if the implementations details should be hidden, otherwise the class SourceUtils can be used.
Method Summary | |
void |
copyTo(Source destination)
Copy the current source to a specified destination. |
void |
moveTo(Source destination)
Move the current source to a specified destination. |
Methods inherited from interface org.apache.excalibur.source.Source |
exists, getContentLength, getInputStream, getLastModified, getMimeType, getScheme, getURI, getValidity, refresh |
Method Detail |
public void copyTo(Source destination) throws SourceException
destination
- Destination of the source.
SourceException
- If an exception occurs during
the copy.public void moveTo(Source destination) throws SourceException
destination
- Destination of the source.
SourceException
- If an exception occurs during
the move.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |