Package org.ametys.web.source
Class ServiceSourceFactory.ServiceSource
java.lang.Object
org.ametys.web.source.ServiceSourceFactory.ServiceSource
- All Implemented Interfaces:
 Source
- Enclosing class:
 - ServiceSourceFactory
 
A wrapping source to know real location
- 
Constructor Summary
ConstructorsConstructorDescriptionServiceSource(Source source, ServiceSourceFactory.SourceType type) Creates the service source - 
Method Summary
 
- 
Constructor Details
- 
ServiceSource
Creates the service source- Parameters:
 source- The source to wraptype- The type of the source
 
 - 
 - 
Method Details
- 
getSourceType
Get the source type of this source- Returns:
 - the source type
 
 - 
getWrappedSource
Get the wrapped source- Returns:
 - the original source
 
 - 
exists
 - 
getContentLength
- Specified by:
 getContentLengthin interfaceSource
 - 
getInputStream
- Specified by:
 getInputStreamin interfaceSource- Throws:
 IOExceptionSourceNotFoundException
 - 
getLastModified
- Specified by:
 getLastModifiedin interfaceSource
 - 
getMimeType
- Specified by:
 getMimeTypein interfaceSource
 - 
getScheme
 - 
getURI
 - 
getValidity
- Specified by:
 getValidityin interfaceSource
 - 
refresh
 
 -