Class BinaryProperty

    • Constructor Detail

      • BinaryProperty

        public BinaryProperty​(String mimeType,
                              String encoding)
        Sets the content length to zero, Locale to null, no stream and no caching
        Parameters:
        mimeType - String
        encoding - String
      • BinaryProperty

        public BinaryProperty​(org.alfresco.service.cmr.repository.ContentReader reader)
        This is the preferred constructor to use. Takes the properties from content reader that it needs.
        Parameters:
        reader - ContentReader
      • BinaryProperty

        public BinaryProperty​(String mimeType,
                              String encoding,
                              long length,
                              Locale locale)
        Sets no stream and no caching
        Parameters:
        mimeType - String
        encoding - String
        length - long
        locale - Locale