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 ImageLocation
createInvalidRuntimeLocation
(Path sourceFile, String imageSrc) static ImageLocation
createLocalLocation
(Path sourceFile, String imageSrc, URI resolvedUri, Path resolvedPath) static ImageLocation
createRemoteLocation
(Path sourceFile, String imageSrc, URI resolvedUri) static ImageLocation
createRuntimeLocation
(Path sourceFile, String imageSrc, URI resolvedUri, Path resolvedPath) boolean
boolean
isRemote()
boolean
toString()
-
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
-