public class JCRBinaryMetadata extends JCRResource implements ModifiableBinaryMetadata
BinaryMetadata
based on the ametys:binaryMetadata nodetypeConstructor and Description |
---|
JCRBinaryMetadata(Node node)
Creates a Node-based binary metadata
|
Modifier and Type | Method and Description |
---|---|
String |
getFilename()
Returns the initial filename of the data, if any
|
void |
setFilename(String filename)
Set the initial filename of the data, if any
|
getEncoding, getInputStream, getLastModified, getLength, getMimeType, getNode, getOutputStream, rename, setEncoding, setInputStream, setLastModified, setMimeType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOutputStream, rename, setEncoding, setInputStream, setLastModified, setMimeType
getEncoding, getInputStream, getLastModified, getLength, getMimeType
public JCRBinaryMetadata(Node node)
node
- the support Nodepublic String getFilename()
BinaryMetadata
getFilename
in interface BinaryMetadata
public void setFilename(String filename)
ModifiableBinaryMetadata
setFilename
in interface ModifiableBinaryMetadata
filename
- the initial filename, or null