Class DocumentResource
java.lang.Object
fr.paris.lutece.plugins.document.business.DocumentResource
- All Implemented Interfaces:
Serializable
Document Resource (such as binary resources)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns the ContentReturns the ContentTypegetName()voidsetContent(byte[] strContent) Sets the ContentvoidsetContentType(String strContentType) Sets the ContentTypevoid
-
Constructor Details
-
DocumentResource
public DocumentResource()
-
-
Method Details
-
getContent
public byte[] getContent()Returns the Content- Returns:
- The Content
-
setContent
public void setContent(byte[] strContent) Sets the Content- Parameters:
strContent- The Content
-
getContentType
Returns the ContentType- Returns:
- The ContentType
-
setContentType
Sets the ContentType- Parameters:
strContentType- The ContentType
-
getName
- Returns:
- the _strName
-
setName
- Parameters:
strName- the _strName to set
-