Class DocumentResource


  • public class DocumentResource
    extends java.lang.Object
    Document Resource (such as binary resources)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

        equals, 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