Class DocumentResource
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.DocumentResource
-
public class DocumentResource extends Object
Document 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 ContentStringgetContentType()Returns the ContentTypeStringgetName()voidsetContent(byte[] strContent)Sets the ContentvoidsetContentType(String strContentType)Sets the ContentTypevoidsetName(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 String getContentType()
Returns the ContentType- Returns:
- The ContentType
-
setContentType
public void setContentType(String strContentType)
Sets the ContentType- Parameters:
strContentType- The ContentType
-
getName
public String getName()
- Returns:
- the _strName
-
setName
public void setName(String strName)
- Parameters:
strName- the _strName to set
-
-