org.jboss.portal.cms
Class Content

java.lang.Object
  extended by org.jboss.portal.cms.Content

public class Content
extends java.lang.Object


Constructor Summary
Content(byte[] bytes, java.lang.String mimeType)
           
 
Method Summary
 byte[] getBytes()
           
 java.lang.String getMimeType()
           
 void setBytes(byte[] bytes)
           
 void setMimeType(java.lang.String mimeType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content(byte[] bytes,
               java.lang.String mimeType)
Method Detail

getBytes

public byte[] getBytes()

setBytes

public void setBytes(byte[] bytes)

getMimeType

public java.lang.String getMimeType()

setMimeType

public void setMimeType(java.lang.String mimeType)