Class StreamingProvider

    • Constructor Detail

      • StreamingProvider

        public StreamingProvider​(String name,
                                 Pattern urlIdExtractorRegexpPattern,
                                 String oembedUrlStringPattern,
                                 boolean justIdInOembedUrl,
                                 List<Pattern> regexpDetectionParts)
        Constructor to initialize a streaming provider instance.
        Parameters:
        name - see name attribute documentation.
        urlIdExtractorRegexpPattern - see urlIdExtractorRegexpPattern attribute documentation.
        oembedUrlStringPattern - see oembedUrlStringPattern attribute documentation.
        justIdInOembedUrl - see justIdInOembedUrl attribute documentation.
        regexpDetectionParts - see regexpDetectionParts attribute documentation.
    • Method Detail

      • getName

        public String getName()
        Returns:
        a string.
        See Also:
        name
      • getRegexpDetectionParts

        public List<Pattern> getRegexpDetectionParts()
        Gets all regexp patterns that permits about a full URL of a streaming to indicate if it is one handled by the streaming provider.
        Returns:
        list of regexp pattern containing at least one element.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object