public class CommonsVFSSourceFactory extends org.apache.avalon.framework.logger.AbstractLogEnabled implements SourceFactory, org.apache.avalon.framework.thread.ThreadSafe
ROLE| Constructor and Description |
|---|
CommonsVFSSourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public Source getSource(java.lang.String location, java.util.Map parameters) throws java.io.IOException, java.net.MalformedURLException
CommonsVFSSource instance primed with the specified locationgetSource in interface SourceFactorylocation - source locationparameters - source parametersjava.io.IOException - if an IO error occursjava.net.MalformedURLException - if a URL is malformedSourceFactory.getSource(java.lang.String, java.util.Map)public void release(Source source)
release in interface SourceFactorysource - source to releaseSourceFactory.release(org.apache.excalibur.source.Source)