|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.source.impl.CommonsVFSSourceFactory
public class CommonsVFSSourceFactory
A factory for source types supported by Commons VFS.
Field Summary |
---|
Fields inherited from interface org.apache.excalibur.source.SourceFactory |
---|
ROLE |
Constructor Summary | |
---|---|
CommonsVFSSourceFactory()
|
Method Summary | |
---|---|
Source |
getSource(java.lang.String location,
java.util.Map parameters)
Returns a CommonsVFSSource instance primed with the specified location |
void |
release(Source source)
Releases the given source. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommonsVFSSourceFactory()
Method Detail |
---|
public Source getSource(java.lang.String location, java.util.Map parameters) throws java.io.IOException, java.net.MalformedURLException
CommonsVFSSource
instance primed with the specified location
getSource
in interface SourceFactory
location
- source locationparameters
- source parameters
java.io.IOException
- if an IO error occurs
java.net.MalformedURLException
- if a URL is malformedSourceFactory.getSource(java.lang.String, java.util.Map)
public void release(Source source)
release
in interface SourceFactory
source
- source to releaseSourceFactory.release(org.apache.excalibur.source.Source)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |