fr.paris.lutece.plugins.document.business
Class DocumentResource

java.lang.Object
  extended by fr.paris.lutece.plugins.document.business.DocumentResource

public class DocumentResource
extends java.lang.Object

Document Resource (such as binary resources)


Constructor Summary
DocumentResource()
           
 
Method Summary
 byte[] getContent()
          Returns the Content
 java.lang.String getContentType()
          Returns the ContentType
 java.lang.String getName()
           
 void setContent(byte[] strContent)
          Sets the Content
 void setContentType(java.lang.String strContentType)
          Sets the ContentType
 void setName(java.lang.String strName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentResource

public DocumentResource()
Method Detail

getContent

public byte[] getContent()
Returns the Content

Returns:
The Content

setContent

public void setContent(byte[] strContent)
Sets the Content

Parameters:
strContent - The Content

getContentType

public java.lang.String getContentType()
Returns the ContentType

Returns:
The ContentType

setContentType

public void setContentType(java.lang.String strContentType)
Sets the ContentType

Parameters:
strContentType - The ContentType

getName

public java.lang.String getName()
Returns:
the _strName

setName

public void setName(java.lang.String strName)
Parameters:
strName - the _strName to set


Copyright © 2009 Mairie de Paris. All Rights Reserved.