Class FileContentsPagesItem


  • public final class FileContentsPagesItem
    extends java.lang.Object
    • Method Detail

      • getPageNumber

        public int getPageNumber()
        Returns:
        The page number of this page in the document.
      • getPageHeight

        public java.util.Optional<java.lang.Double> getPageHeight()
        Returns:
        The height of the page in points. Available for PDF and IMG file types.
      • getPageWidth

        public java.util.Optional<java.lang.Double> getPageWidth()
        Returns:
        The width of the page in points. Available for PDF and IMG file types.
      • getMarkdown

        public java.util.Optional<java.lang.String> getMarkdown()
        Returns:
        Cleaned and structured markdown content of this page. Available for PDF and IMG file types when the markdown query parameter is set to true.
      • getHtml

        public java.util.Optional<java.lang.String> getHtml()
        Returns:
        HTML content of the page. Available for DOCX file types when the html query parameter is set to true.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object