Class ContentProvider


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

      • isExternal

        public boolean isExternal()
      • getType

        public java.lang.String getType()
        Provider of the resource. Only LINE or EXTERNAL can be set.
        • line: LINE. The binary data can be retrieved from the content endpoint.
        • external: Provider other than LINE
      • getOriginalContentUrl

        public java.net.URI getOriginalContentUrl()
        URL of the resource. Only included when type is EXTERNAL.
      • getPreviewImageUrl

        public java.net.URI getPreviewImageUrl()
        URL of the preview resource. Only included when type is EXTERNAL.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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