Interface BinaryMetadata
- All Superinterfaces:
Resource
- All Known Subinterfaces:
ModifiableBinaryMetadata
- All Known Implementing Classes:
JCRBinaryMetadata
Deprecated.
Use org.ametys.cms.data.Binary instead
Helper class giving access to a stream, its mime-type and its data name
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the initial filename of the data, if anygetHash()
Deprecated.Returns the hash of the data (SHA1 encoding)Methods inherited from interface org.ametys.plugins.repository.metadata.Resource
getEncoding, getInputStream, getLastModified, getLength, getMimeType
-
Method Details
-
getFilename
Deprecated.Returns the initial filename of the data, if any- Returns:
- the initial filename of the data, or null
-
getHash
Deprecated.Returns the hash of the data (SHA1 encoding)- Returns:
- the hash of the data
-