Package org.ametys.cms.explorer
Class AmetysResourceSource
java.lang.Object
org.ametys.cms.explorer.AmetysResourceSource
- All Implemented Interfaces:
NamedSource
,Source
-
Constructor Details
-
AmetysResourceSource
Constructor.- Parameters:
resource
- theResource
.filename
- the local file name.uri
- this source's uri.
-
-
Method Details
-
exists
-
getInputStream
- Specified by:
getInputStream
in interfaceSource
- Throws:
IOException
SourceNotFoundException
-
getURI
-
getScheme
-
getValidity
- Specified by:
getValidity
in interfaceSource
-
getName
Description copied from interface:NamedSource
Returns the name of this source.- Specified by:
getName
in interfaceNamedSource
- Returns:
- the name of this source.
-
refresh
-
getMimeType
- Specified by:
getMimeType
in interfaceSource
-
getContentLength
- Specified by:
getContentLength
in interfaceSource
-
getLastModified
- Specified by:
getLastModified
in interfaceSource
-