Class HREF

  • All Implemented Interfaces:
    java.lang.Comparable<HREF>

    public class HREF
    extends java.lang.Object
    implements java.lang.Comparable<HREF>
    • Constructor Detail

      • HREF

        public HREF​(HelpModuleLocation help,
                    java.nio.file.Path sourceFile,
                    java.lang.String href,
                    int lineNum)
             throws java.net.URISyntaxException
        Throws:
        java.net.URISyntaxException
    • Method Detail

      • isURL

        public boolean isURL()
      • isLocalAnchor

        public boolean isLocalAnchor()
      • getSourceFile

        public java.nio.file.Path getSourceFile()
      • isRemote

        public boolean isRemote()
      • getAnchorName

        public java.lang.String getAnchorName()
      • getRefString

        public java.lang.String getRefString()
      • getReferenceFileHelpPath

        public java.nio.file.Path getReferenceFileHelpPath()
        The relative help path to the destination of this HREF
      • getHelpPath

        public java.lang.String getHelpPath()
      • compareTo

        public int compareTo​(HREF other)
        Specified by:
        compareTo in interface java.lang.Comparable<HREF>
      • toString

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

        public int getLineNumber()