org.apache.s4.deploy
Class FileSystemS4RFetcher

java.lang.Object
  extended by org.apache.s4.deploy.FileSystemS4RFetcher
All Implemented Interfaces:
S4RFetcher

public class FileSystemS4RFetcher
extends java.lang.Object
implements S4RFetcher

Fetches S4R files from a file system, possibly distributed.


Constructor Summary
FileSystemS4RFetcher()
           
 
Method Summary
 java.io.InputStream fetch(java.net.URI uri)
          Returns a stream to an S4R archive file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemS4RFetcher

public FileSystemS4RFetcher()
Method Detail

fetch

public java.io.InputStream fetch(java.net.URI uri)
                          throws DeploymentFailedException
Description copied from interface: S4RFetcher
Returns a stream to an S4R archive file

Specified by:
fetch in interface S4RFetcher
Parameters:
uri - S4R archive identifier
Returns:
an input stream for accessing the content of the S4R file
Throws:
DeploymentFailedException - when fetching fails