org.apache.s4.deploy
Interface S4RFetcher
- All Known Implementing Classes:
- FileSystemS4RFetcher, HttpS4RFetcher
public interface S4RFetcher
This interface defines methods to fetch S4R archive files from a URI. Various protocols can be supported in the
implementation classes (e.g. file system, HTTP etc...)
Method Summary |
java.io.InputStream |
fetch(java.net.URI uri)
Returns a stream to an S4R archive file |
fetch
java.io.InputStream fetch(java.net.URI uri)
throws DeploymentFailedException
- Returns a stream to an S4R archive file
- Parameters:
uri
- S4R archive identifier
- Returns:
- an input stream for accessing the content of the S4R file
- Throws:
DeploymentFailedException
- when fetching fails