org.liquidsite.app.template
Class DocumentFileBean

java.lang.Object
  extended byorg.liquidsite.app.template.TemplateBean
      extended byorg.liquidsite.app.template.ContentBean
          extended byorg.liquidsite.app.template.DocumentFileBean

public class DocumentFileBean
extends ContentBean

A document file bean. This class is used to access document files from the template data model.


Method Summary
 java.lang.String getMimeType()
          Returns the file MIME type.
 long getSize()
          Returns the file size.
 
Methods inherited from class org.liquidsite.app.template.ContentBean
getContent, getCreated, getDate, getId, getLock, getName, getOnline, getParent, getPath, getRevision, getUser, hasAccess, toString
 
Methods inherited from class org.liquidsite.app.template.TemplateBean
getContext, getContextRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSize

public long getSize()
Returns the file size.

Returns:
the file size

getMimeType

public java.lang.String getMimeType()
Returns the file MIME type.

Returns:
the file MIME type