Class DocumentResource
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.DocumentResource
-
public class DocumentResource extends java.lang.ObjectDocument Resource (such as binary resources)
-
-
Constructor Summary
Constructors Constructor Description DocumentResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getContent()Returns the Contentjava.lang.StringgetContentType()Returns the ContentTypejava.lang.StringgetName()voidsetContent(byte[] strContent)Sets the ContentvoidsetContentType(java.lang.String strContentType)Sets the ContentTypevoidsetName(java.lang.String strName)
-
-
-
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
-
-