Package help
Class ImageLocation
- java.lang.Object
-
- help.ImageLocation
-
public class ImageLocation extends java.lang.Object
A class that represents the original location of an IMG tag along with its location resolution within the help system.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageLocation
createInvalidRuntimeLocation(java.nio.file.Path sourceFile, java.lang.String imageSrc)
static ImageLocation
createLocalLocation(java.nio.file.Path sourceFile, java.lang.String imageSrc, java.net.URI resolvedUri, java.nio.file.Path resolvedPath)
static ImageLocation
createRemoteLocation(java.nio.file.Path sourceFile, java.lang.String imageSrc, java.net.URI resolvedUri)
static ImageLocation
createRuntimeLocation(java.nio.file.Path sourceFile, java.lang.String imageSrc, java.net.URI resolvedUri, java.nio.file.Path resolvedPath)
java.lang.String
getImageSrc()
java.nio.file.Path
getResolvedPath()
java.net.URI
getResolvedUri()
java.nio.file.Path
getSourceFile()
boolean
isRemote()
boolean
isRuntime()
void
setImageSrc(java.lang.String imageSrc)
void
setRemote(boolean isRemote)
void
setResolvedPath(java.nio.file.Path resolvedPath)
void
setResolvedUri(java.net.URI resolvedUri)
void
setRuntime(boolean isRuntime)
void
setSourceFile(java.nio.file.Path sourceFile)
java.lang.String
toString()
-
-
-
Method Detail
-
createLocalLocation
public static ImageLocation createLocalLocation(java.nio.file.Path sourceFile, java.lang.String imageSrc, java.net.URI resolvedUri, java.nio.file.Path resolvedPath)
-
createRuntimeLocation
public static ImageLocation createRuntimeLocation(java.nio.file.Path sourceFile, java.lang.String imageSrc, java.net.URI resolvedUri, java.nio.file.Path resolvedPath)
-
createInvalidRuntimeLocation
public static ImageLocation createInvalidRuntimeLocation(java.nio.file.Path sourceFile, java.lang.String imageSrc)
-
createRemoteLocation
public static ImageLocation createRemoteLocation(java.nio.file.Path sourceFile, java.lang.String imageSrc, java.net.URI resolvedUri)
-
getSourceFile
public java.nio.file.Path getSourceFile()
-
setSourceFile
public void setSourceFile(java.nio.file.Path sourceFile)
-
getImageSrc
public java.lang.String getImageSrc()
-
setImageSrc
public void setImageSrc(java.lang.String imageSrc)
-
getResolvedPath
public java.nio.file.Path getResolvedPath()
-
setResolvedPath
public void setResolvedPath(java.nio.file.Path resolvedPath)
-
getResolvedUri
public java.net.URI getResolvedUri()
-
setResolvedUri
public void setResolvedUri(java.net.URI resolvedUri)
-
isRemote
public boolean isRemote()
-
setRemote
public void setRemote(boolean isRemote)
-
isRuntime
public boolean isRuntime()
-
setRuntime
public void setRuntime(boolean isRuntime)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-