Class Finder.ByHyperlinkFinder

  • Enclosing class:
    Finder

    public static class Finder.ByHyperlinkFinder
    extends java.lang.Object
    Search element by element hyperlink.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BaseElement find​(Project project, java.lang.String elementHyperlink)
      Find element in the given project by element hyperlink.
      boolean isElementHyperlink​(java.lang.String string)
      Check if given string is element hyperlink.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ByHyperlinkFinder

        public ByHyperlinkFinder()
    • Method Detail

      • find

        @CheckForNull
        public BaseElement find​(Project project,
                                java.lang.String elementHyperlink)
        Find element in the given project by element hyperlink.
        Parameters:
        project - project to search.
        elementHyperlink - element hyperlink.
        Returns:
        element.
      • isElementHyperlink

        public boolean isElementHyperlink​(java.lang.String string)
        Check if given string is element hyperlink.
        Parameters:
        string - string to check.
        Returns:
        true if given string is element hyperlink, otherwise - false.