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
ConstructorDescriptionServiceSource
(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:
getContentLength
in interfaceSource
-
getInputStream
- Specified by:
getInputStream
in interfaceSource
- Throws:
IOException
SourceNotFoundException
-
getLastModified
- Specified by:
getLastModified
in interfaceSource
-
getMimeType
- Specified by:
getMimeType
in interfaceSource
-
getScheme
-
getURI
-
getValidity
- Specified by:
getValidity
in interfaceSource
-
refresh
-