Class IMG

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

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

      • IMG

        public IMG​(HelpModuleLocation help,
                   java.nio.file.Path sourceFile,
                   java.lang.String imgSrc,
                   int lineNumber)
            throws java.net.URISyntaxException
        Constructor
        Parameters:
        help - the help module containing the file containing this IMG reference
        sourceFile - the source file containing this IMG reference
        imgSrc - the IMG SRC attribute pulled from the HTML file
        lineNumber - the line number of the IMG tag
        Throws:
        java.net.URISyntaxException
    • Method Detail

      • getSourceFile

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

        public java.lang.String getSrcAttribute()
      • isRemote

        public boolean isRemote()
      • isRuntime

        public boolean isRuntime()
      • isInvalid

        public boolean isInvalid()
      • getImageFile

        public java.nio.file.Path getImageFile()
      • getHelpPath

        public java.nio.file.Path getHelpPath()
      • getLineNumber

        public int getLineNumber()
      • compareTo

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

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