org.chromattic.ext.ntdef
Class Resource

java.lang.Object
  extended by org.chromattic.ext.ntdef.Resource

public class Resource
extends Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
Resource(String mimeType, String encoding, byte[] data)
           
 
Method Summary
static Resource createPlainText(String text)
           
 byte[] getData()
           
 String getEncoding()
           
 String getMimeType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resource

public Resource(String mimeType,
                String encoding,
                byte[] data)
Method Detail

createPlainText

public static Resource createPlainText(String text)

getMimeType

public String getMimeType()

getEncoding

public String getEncoding()

getData

public byte[] getData()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.