info.magnolia.cms.beans.runtime
Class File
java.lang.Object
info.magnolia.cms.beans.runtime.File
public class File
- extends java.lang.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 java.lang.String getExtension()
setExtension
public void setExtension(java.lang.String extension)
getFileName
public java.lang.String getFileName()
setFileName
public void setFileName(java.lang.String fileName)
getContentType
public java.lang.String getContentType()
setContentType
public void setContentType(java.lang.String contentType)
getNodeDataTemplate
public java.lang.String getNodeDataTemplate()
setNodeDataTemplate
public void setNodeDataTemplate(java.lang.String nodeDataTemplate)
getSize
public int getSize()
setSize
public void setSize(int size)
getNodeData
public NodeData getNodeData()
getStream
public java.io.InputStream getStream()
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.