Package help.validator.model
Class IMG
java.lang.Object
help.validator.model.IMG
- All Implemented Interfaces:
Comparable<IMG>
-
Constructor Details
-
IMG
public IMG(HelpModuleLocation help, Path sourceFile, String imgSrc, int lineNumber) throws URISyntaxException Constructor- Parameters:
help
- the help module containing the file containing this IMG referencesourceFile
- the source file containing this IMG referenceimgSrc
- the IMG SRC attribute pulled from the HTML filelineNumber
- the line number of the IMG tag- Throws:
URISyntaxException
- if there is an exception resolving the image URI
-
-
Method Details
-
getSourceFile
-
getSrcAttribute
-
isRemote
public boolean isRemote() -
isRuntime
public boolean isRuntime() -
isInvalid
public boolean isInvalid() -
getImageFile
-
getHelpPath
-
getLineNumber
public int getLineNumber() -
compareTo
- Specified by:
compareTo
in interfaceComparable<IMG>
-
toString
-