info.magnolia.cms.beans.runtime
Class File
java.lang.Object
info.magnolia.cms.beans.runtime.File
public class File
- extends Object
Wraps a NodeData and exposes it into a simple file-like bean.
- Version:
- 1.1
- Author:
- Sameer Charles
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
File
public File(NodeData data)
getExtension
public String getExtension()
setExtension
public void setExtension(String extension)
getFileName
public String getFileName()
setFileName
public void setFileName(String fileName)
getContentType
public String getContentType()
setContentType
public void setContentType(String contentType)
getNodeDataTemplate
public String getNodeDataTemplate()
setNodeDataTemplate
public void setNodeDataTemplate(String nodeDataTemplate)
getSize
public int getSize()
setSize
public void setSize(int size)
getNodeData
public NodeData getNodeData()
getStream
public InputStream getStream()
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.