Package help
Class ImageLocation
java.lang.Object
help.ImageLocation
A class that represents the original location of an IMG tag along with its location
resolution within the help system.
Some images are represented by 'in memory' or 'runtime' values that do not have a valid url.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImageLocationcreateInvalidRuntimeLocation(Path sourceFile, String imageSrc) static ImageLocationcreateLocalLocation(Path sourceFile, String imageSrc, URI resolvedUri, Path resolvedPath) static ImageLocationcreateRemoteLocation(Path sourceFile, String imageSrc, URI resolvedUri) static ImageLocationcreateRuntimeLocation(Path sourceFile, String imageSrc, URI resolvedUri, Path resolvedPath) booleanbooleanisRemote()booleantoString()
-
Method Details
-
createLocalLocation
public static ImageLocation createLocalLocation(Path sourceFile, String imageSrc, URI resolvedUri, Path resolvedPath) -
createRuntimeLocation
public static ImageLocation createRuntimeLocation(Path sourceFile, String imageSrc, URI resolvedUri, Path resolvedPath) -
createInvalidRuntimeLocation
-
createRemoteLocation
-
getSourceFile
-
getImageSrc
-
getResolvedPath
-
getResolvedUri
-
isRemote
public boolean isRemote() -
isRuntime
public boolean isRuntime() -
isInvalidRuntimeImage
public boolean isInvalidRuntimeImage() -
toString
-