Enum FeedDocument.CompressionAlgorithmEnum

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<FeedDocument.CompressionAlgorithmEnum>
    Enclosing class:
    FeedDocument

    public static enum FeedDocument.CompressionAlgorithmEnum
    extends java.lang.Enum<FeedDocument.CompressionAlgorithmEnum>
    If the feed document contents have been compressed, the compression algorithm used is returned in this property and you must decompress the feed when you download. Otherwise, you can download the feed directly. Refer to [Step 7. Download the feed processing report](doc:feeds-api-v2021-06-30-use-case-guide#step-7-download-the-feed-processing-report) in the use case guide, where sample code is provided.
    • Method Detail

      • values

        public static FeedDocument.CompressionAlgorithmEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FeedDocument.CompressionAlgorithmEnum c : FeedDocument.CompressionAlgorithmEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FeedDocument.CompressionAlgorithmEnum valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()