Class OperationTextExtractionLinks


  • public class OperationTextExtractionLinks
    extends Object
    OperationTextExtractionLinks
    • Constructor Detail

      • OperationTextExtractionLinks

        public OperationTextExtractionLinks()
    • Method Detail

      • getFromText

        @Nullable
        public @Nullable Boolean getFromText()
        Advanced mode for extracting links When using this mode, links will not be extracted from annotations, but will instead be extracted directly from the text. This means that links that are not found in standard mode can be found with this advanced mode, provided that they are present in the form of text.
        Returns:
        fromText
      • setFromText

        public void setFromText​(Boolean fromText)
      • getProtocol

        @Nullable
        public @Nullable String getProtocol()
        Provides the option of filtering the links being extracted by protocol. If multiple protocols are specified, they need to be separated with commas (e.g., \"http,https,ftp\"). The following values are valid: \"http\",\"https\",\"ftp\", \"telnet\",\"mailto\", \"file\", \"nntp\", and \"notes\".
        Returns:
        protocol
      • setProtocol

        public void setProtocol​(String protocol)
      • getWithoutProtocol

        @Nullable
        public @Nullable Boolean getWithoutProtocol()
        When enabled, incomplete URLs from which the protocol information is missing will be extracted as well when extracting links from text. This would apply to the following examples, for instance: * \"www.webpdf.de\" - There is no protocol information. If the option is enabled and \"http\" links are searched for, the link will be extracted. * \"ftp.softvision.de\" - There is no protocol information here either. If the option is enabled and \"ftp\" links are searched for, the link will be extracted.
        Returns:
        withoutProtocol
      • setWithoutProtocol

        public void setWithoutProtocol​(Boolean withoutProtocol)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object