Class RemoteEntry
- java.lang.Object
-
- org.openstreetmap.josm.gui.layer.geoimage.RemoteEntry
-
- All Implemented Interfaces:
IImageEntry<RemoteEntry>
,ImageMetadata
- Direct Known Subclasses:
ImageMarker.MarkerRemoteEntry
public class RemoteEntry extends java.lang.Object implements IImageEntry<RemoteEntry>, ImageMetadata
A remote image entry- Since:
- 18592
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Double
elevation
private ILatLon
exifCoor
private java.lang.String
exifGpsDatum
private java.lang.Double
exifGpsDop
private java.lang.String
exifGpsProcMethod
private java.time.Instant
exifGpsTime
private java.lang.Double
exifGpsTrack
private java.lang.Double
exifHPosErr
private java.lang.Double
exifImgDir
private java.lang.Integer
exifOrientation
private java.time.Instant
exifTime
private java.util.function.Supplier<RemoteEntry>
firstImage
private java.lang.Integer
gps2d3dMode
private java.lang.Integer
gpsDiffMode
private java.time.Instant
gpsTime
private int
height
private java.lang.String
iptcCaption
private java.lang.String
iptcHeadline
private java.util.List<java.lang.String>
iptcKeywords
private java.lang.String
iptcObjectName
private java.util.function.Supplier<RemoteEntry>
lastImage
private java.util.function.Supplier<RemoteEntry>
nextImage
private ILatLon
pos
private java.util.function.Supplier<RemoteEntry>
previousImage
private Projections
projection
private java.lang.Double
speed
private java.lang.String
title
private java.net.URI
uri
private int
width
-
Constructor Summary
Constructors Constructor Description RemoteEntry(java.net.URI uri, java.util.function.Supplier<RemoteEntry> firstImage, java.util.function.Supplier<RemoteEntry> previousImage, java.util.function.Supplier<RemoteEntry> nextImage, java.util.function.Supplier<RemoteEntry> lastImage)
Create a new remote entry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDisplayName()
Returns a display name for this entry (shown in image viewer title bar)java.lang.Double
getElevation()
Returns the elevation value.ILatLon
getExifCoor()
Get the EXIF coordinatesjava.lang.String
getExifGpsDatum()
Return the GPS datum value.java.lang.Double
getExifGpsDop()
Return the GPS DOP value.java.time.Instant
getExifGpsInstant()
Returns the Exif GPS Time value.java.lang.String
getExifGpsProcMethod()
Return the GPS processing method.java.lang.Double
getExifGpsTrack()
Returns the image GPS track direction.java.lang.Double
getExifHPosErr()
Returns the image horizontal positionning error.java.lang.Double
getExifImgDir()
Returns the image direction.java.time.Instant
getExifInstant()
Returns EXIF timejava.lang.Integer
getExifOrientation()
Returns EXIF orientationjava.io.File
getFile()
Returns associated file.RemoteEntry
getFirstImage()
Get the first image for the data or sequencejava.lang.Integer
getGps2d3dMode()
Return the GPS 2d/3d mode value.java.lang.Integer
getGpsDiffMode()
Return the GPS Differential mode value.java.time.Instant
getGpsInstant()
Returns the GPS time value.int
getHeight()
Returns height of the image this ImageMetadata represents.java.net.URI
getImageURI()
Get the URI for the imagejava.io.InputStream
getInputStream()
Get the image input streamjava.lang.String
getIptcCaption()
Returns the IPTC caption.java.lang.String
getIptcHeadline()
Returns the IPTC headline.java.util.List<java.lang.String>
getIptcKeywords()
Returns the IPTC keywords.java.lang.String
getIptcObjectName()
Returns the IPTC object name.RemoteEntry
getLastImage()
Get the last image for the data or sequencejava.time.Instant
getLastModified()
Get the last time the source was modified.RemoteEntry
getNextImage()
Get what would be the next imageILatLon
getPos()
Returns the position value.RemoteEntry
getPreviousImage()
Get the previous imageProjections
getProjectionType()
Get the camera projection typejava.lang.Double
getSpeed()
Returns the speed value.int
getWidth()
Returns width of the image this ImageMetadata represents.boolean
hasExifGpsTime()
Convenient way to determine if this entry has a EXIF GPS time, without the cost of building a defensive copy.boolean
hasExifTime()
Convenient way to determine if this entry has a EXIF time, without the cost of building a defensive copy.boolean
hasGpsTime()
Convenient way to determine if this entry has a GPS time, without the cost of building a defensive copy.int
hashCode()
void
selectImage(ImageViewerDialog imageViewerDialog, IImageEntry<?> entry)
Select a specific imagevoid
setDisplayName(java.lang.String text)
Set the display name for this entryvoid
setElevation(java.lang.Double elevation)
Sets the elevation.void
setExifCoor(ILatLon exifCoor)
Sets the EXIF coordinatesvoid
setExifGpsDatum(java.lang.String exifGpsDatum)
Sets the GPS datum value.void
setExifGpsDop(java.lang.Double exifGpsDop)
Sets the EXIF GPS DOP value.void
setExifGpsProcMethod(java.lang.String exifGpsProcMethod)
Sets the GPS processing method.void
setExifGpsTime(java.time.Instant exifGpsTime)
Sets the EXIF GPS time.void
setExifGpsTrack(java.lang.Double exifGpsTrack)
Sets the EXIF GPS track direction.void
setExifHPosErr(java.lang.Double exifHPosError)
Sets the EXIF horizontal positioning error.void
setExifImgDir(java.lang.Double exifDir)
Sets the EXIF directionvoid
setExifOrientation(java.lang.Integer exifOrientation)
Sets EXIF orientation.void
setExifTime(java.time.Instant exifTime)
Sets EXIF time.void
setGps2d3dMode(java.lang.Integer gps2d3dMode)
Sets the GPS 2d/3d mode.void
setGpsDiffMode(java.lang.Integer gpsDiffMode)
Sets the GPS Differential mode.void
setGpsTime(java.time.Instant gpsTime)
Sets the GPS time.void
setHeight(int height)
Sets the height of this ImageEntry.void
setIptcCaption(java.lang.String iptcCaption)
Sets the IPTC caption.void
setIptcHeadline(java.lang.String iptcHeadline)
Sets the IPTC headline.void
setIptcKeywords(java.util.List<java.lang.String> iptcKeywords)
Sets the IPTC keywords.void
setIptcObjectName(java.lang.String iptcObjectName)
Sets the IPTC object name.void
setPos(ILatLon pos)
Sets the position.void
setProjectionType(Projections newProjection)
Set the new projection typevoid
setSpeed(java.lang.Double speed)
Sets the speed.void
setWidth(int width)
Sets the width of this ImageEntry.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openstreetmap.josm.data.imagery.street_level.IImageEntry
delete, isDeleteSupported, isRemoveSupported, read, remove, selectFirstImage, selectLastImage, selectNextImage, selectPreviousImage
-
Methods inherited from interface org.openstreetmap.josm.gui.layer.geoimage.ImageMetadata
extractExif
-
-
-
-
Field Detail
-
uri
private final java.net.URI uri
-
firstImage
private final java.util.function.Supplier<RemoteEntry> firstImage
-
nextImage
private final java.util.function.Supplier<RemoteEntry> nextImage
-
previousImage
private final java.util.function.Supplier<RemoteEntry> previousImage
-
lastImage
private final java.util.function.Supplier<RemoteEntry> lastImage
-
width
private int width
-
height
private int height
-
exifOrientation
private java.lang.Integer exifOrientation
-
elevation
private java.lang.Double elevation
-
gpsDiffMode
private java.lang.Integer gpsDiffMode
-
gps2d3dMode
private java.lang.Integer gps2d3dMode
-
exifHPosErr
private java.lang.Double exifHPosErr
-
exifGpsDop
private java.lang.Double exifGpsDop
-
exifGpsDatum
private java.lang.String exifGpsDatum
-
exifGpsProcMethod
private java.lang.String exifGpsProcMethod
-
speed
private java.lang.Double speed
-
exifImgDir
private java.lang.Double exifImgDir
-
exifGpsTrack
private java.lang.Double exifGpsTrack
-
exifTime
private java.time.Instant exifTime
-
exifGpsTime
private java.time.Instant exifGpsTime
-
gpsTime
private java.time.Instant gpsTime
-
iptcObjectName
private java.lang.String iptcObjectName
-
iptcKeywords
private java.util.List<java.lang.String> iptcKeywords
-
iptcHeadline
private java.lang.String iptcHeadline
-
iptcCaption
private java.lang.String iptcCaption
-
projection
private Projections projection
-
title
private java.lang.String title
-
-
Constructor Detail
-
RemoteEntry
public RemoteEntry(java.net.URI uri, java.util.function.Supplier<RemoteEntry> firstImage, java.util.function.Supplier<RemoteEntry> previousImage, java.util.function.Supplier<RemoteEntry> nextImage, java.util.function.Supplier<RemoteEntry> lastImage)
Create a new remote entry- Parameters:
uri
- The URI to usefirstImage
- first image suppliernextImage
- next image supplierlastImage
- last image supplierpreviousImage
- previous image supplier
-
-
Method Detail
-
getNextImage
public RemoteEntry getNextImage()
Description copied from interface:IImageEntry
Get what would be the next image- Specified by:
getNextImage
in interfaceIImageEntry<RemoteEntry>
- Returns:
- The next image
-
getPreviousImage
public RemoteEntry getPreviousImage()
Description copied from interface:IImageEntry
Get the previous image- Specified by:
getPreviousImage
in interfaceIImageEntry<RemoteEntry>
- Returns:
- The previous image
-
getFirstImage
public RemoteEntry getFirstImage()
Description copied from interface:IImageEntry
Get the first image for the data or sequence- Specified by:
getFirstImage
in interfaceIImageEntry<RemoteEntry>
- Returns:
- The first image
-
getLastImage
public RemoteEntry getLastImage()
Description copied from interface:IImageEntry
Get the last image for the data or sequence- Specified by:
getLastImage
in interfaceIImageEntry<RemoteEntry>
- Returns:
- The last image
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:IImageEntry
Returns a display name for this entry (shown in image viewer title bar)- Specified by:
getDisplayName
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getDisplayName
in interfaceImageMetadata
- Returns:
- a display name for this entry
-
setWidth
public void setWidth(int width)
Description copied from interface:IImageEntry
Sets the width of this ImageEntry.- Specified by:
setWidth
in interfaceIImageEntry<RemoteEntry>
- Specified by:
setWidth
in interfaceImageMetadata
- Parameters:
width
- set the width of this ImageEntry
-
setHeight
public void setHeight(int height)
Description copied from interface:IImageEntry
Sets the height of this ImageEntry.- Specified by:
setHeight
in interfaceIImageEntry<RemoteEntry>
- Specified by:
setHeight
in interfaceImageMetadata
- Parameters:
height
- set the height of this ImageEntry
-
setPos
public void setPos(ILatLon pos)
Description copied from interface:ImageMetadata
Sets the position.- Specified by:
setPos
in interfaceImageMetadata
- Parameters:
pos
- position (will be cached)
-
setSpeed
public void setSpeed(java.lang.Double speed)
Description copied from interface:ImageMetadata
Sets the speed.- Specified by:
setSpeed
in interfaceImageMetadata
- Parameters:
speed
- speed
-
setGpsDiffMode
public void setGpsDiffMode(java.lang.Integer gpsDiffMode)
Description copied from interface:ImageMetadata
Sets the GPS Differential mode.- Specified by:
setGpsDiffMode
in interfaceImageMetadata
- Parameters:
gpsDiffMode
- GPS Differential mode- Since:
- 19387
-
setGps2d3dMode
public void setGps2d3dMode(java.lang.Integer gps2d3dMode)
Description copied from interface:ImageMetadata
Sets the GPS 2d/3d mode.- Specified by:
setGps2d3dMode
in interfaceImageMetadata
- Parameters:
gps2d3dMode
- GPS 2d/3d mode- Since:
- 19387
-
setExifGpsDatum
public void setExifGpsDatum(java.lang.String exifGpsDatum)
Description copied from interface:ImageMetadata
Sets the GPS datum value.- Specified by:
setExifGpsDatum
in interfaceImageMetadata
- Parameters:
exifGpsDatum
- GPS datum- Since:
- 19387
-
setExifGpsProcMethod
public void setExifGpsProcMethod(java.lang.String exifGpsProcMethod)
Description copied from interface:ImageMetadata
Sets the GPS processing method.- Specified by:
setExifGpsProcMethod
in interfaceImageMetadata
- Parameters:
exifGpsProcMethod
- GPS processing method- Since:
- 19387
-
setElevation
public void setElevation(java.lang.Double elevation)
Description copied from interface:ImageMetadata
Sets the elevation.- Specified by:
setElevation
in interfaceImageMetadata
- Parameters:
elevation
- elevation
-
setExifOrientation
public void setExifOrientation(java.lang.Integer exifOrientation)
Description copied from interface:ImageMetadata
Sets EXIF orientation.- Specified by:
setExifOrientation
in interfaceImageMetadata
- Parameters:
exifOrientation
- EXIF orientation
-
setExifTime
public void setExifTime(java.time.Instant exifTime)
Description copied from interface:ImageMetadata
Sets EXIF time.- Specified by:
setExifTime
in interfaceImageMetadata
- Parameters:
exifTime
- EXIF time
-
setExifGpsTime
public void setExifGpsTime(java.time.Instant exifGpsTime)
Description copied from interface:ImageMetadata
Sets the EXIF GPS time.- Specified by:
setExifGpsTime
in interfaceImageMetadata
- Parameters:
exifGpsTime
- the EXIF GPS time
-
setGpsTime
public void setGpsTime(java.time.Instant gpsTime)
Description copied from interface:ImageMetadata
Sets the GPS time.- Specified by:
setGpsTime
in interfaceImageMetadata
- Parameters:
gpsTime
- the GPS time
-
setExifCoor
public void setExifCoor(ILatLon exifCoor)
Description copied from interface:ImageMetadata
Sets the EXIF coordinates- Specified by:
setExifCoor
in interfaceImageMetadata
- Parameters:
exifCoor
- The EXIF coordinates
-
setExifImgDir
public void setExifImgDir(java.lang.Double exifDir)
Description copied from interface:ImageMetadata
Sets the EXIF direction- Specified by:
setExifImgDir
in interfaceImageMetadata
- Parameters:
exifDir
- The direction
-
setExifGpsTrack
public void setExifGpsTrack(java.lang.Double exifGpsTrack)
Description copied from interface:ImageMetadata
Sets the EXIF GPS track direction.- Specified by:
setExifGpsTrack
in interfaceImageMetadata
- Parameters:
exifGpsTrack
- The GPS track direction- Since:
- 19387
-
setExifHPosErr
public void setExifHPosErr(java.lang.Double exifHPosError)
Description copied from interface:ImageMetadata
Sets the EXIF horizontal positioning error.- Specified by:
setExifHPosErr
in interfaceImageMetadata
- Parameters:
exifHPosError
- the EXIF horizontal positionning error- Since:
- 19387
-
setExifGpsDop
public void setExifGpsDop(java.lang.Double exifGpsDop)
Description copied from interface:ImageMetadata
Sets the EXIF GPS DOP value.- Specified by:
setExifGpsDop
in interfaceImageMetadata
- Parameters:
exifGpsDop
- the EXIF GPS DOP value- Since:
- 19387
-
setIptcCaption
public void setIptcCaption(java.lang.String iptcCaption)
Description copied from interface:ImageMetadata
Sets the IPTC caption.- Specified by:
setIptcCaption
in interfaceImageMetadata
- Parameters:
iptcCaption
- the IPTC caption
-
setIptcHeadline
public void setIptcHeadline(java.lang.String iptcHeadline)
Description copied from interface:ImageMetadata
Sets the IPTC headline.- Specified by:
setIptcHeadline
in interfaceImageMetadata
- Parameters:
iptcHeadline
- the IPTC headline
-
setIptcKeywords
public void setIptcKeywords(java.util.List<java.lang.String> iptcKeywords)
Description copied from interface:ImageMetadata
Sets the IPTC keywords.- Specified by:
setIptcKeywords
in interfaceImageMetadata
- Parameters:
iptcKeywords
- the IPTC keywords
-
setIptcObjectName
public void setIptcObjectName(java.lang.String iptcObjectName)
Description copied from interface:ImageMetadata
Sets the IPTC object name.- Specified by:
setIptcObjectName
in interfaceImageMetadata
- Parameters:
iptcObjectName
- the IPTC object name
-
getExifOrientation
public java.lang.Integer getExifOrientation()
Description copied from interface:ImageMetadata
Returns EXIF orientation- Specified by:
getExifOrientation
in interfaceImageMetadata
- Returns:
- EXIF orientation
-
getFile
public java.io.File getFile()
Description copied from interface:IImageEntry
Returns associated file.- Specified by:
getFile
in interfaceIImageEntry<RemoteEntry>
- Returns:
- associated file
-
getImageURI
public java.net.URI getImageURI()
Description copied from interface:IImageEntry
Get the URI for the image- Specified by:
getImageURI
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getImageURI
in interfaceImageMetadata
- Returns:
- The image URI
-
getWidth
public int getWidth()
Description copied from interface:ImageMetadata
Returns width of the image this ImageMetadata represents.- Specified by:
getWidth
in interfaceImageMetadata
- Returns:
- width of the image this ImageMetadata represents
-
getHeight
public int getHeight()
Description copied from interface:ImageMetadata
Returns height of the image this ImageMetadata represents.- Specified by:
getHeight
in interfaceImageMetadata
- Returns:
- height of the image this ImageMetadata represents
-
getPos
public ILatLon getPos()
Description copied from interface:IImageEntry
Returns the position value. The position value from the temporary copy is returned if that copy exists.- Specified by:
getPos
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getPos
in interfaceImageMetadata
- Returns:
- the position value
-
getSpeed
public java.lang.Double getSpeed()
Description copied from interface:IImageEntry
Returns the speed value. The speed value from the temporary copy is returned if that copy exists.- Specified by:
getSpeed
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getSpeed
in interfaceImageMetadata
- Returns:
- the speed value
-
getElevation
public java.lang.Double getElevation()
Description copied from interface:IImageEntry
Returns the elevation value. The elevation value from the temporary copy is returned if that copy exists.- Specified by:
getElevation
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getElevation
in interfaceImageMetadata
- Returns:
- the elevation value
-
getGpsDiffMode
public java.lang.Integer getGpsDiffMode()
Description copied from interface:IImageEntry
Return the GPS Differential mode value. The differential mode value from the temporary copy is returned if that copy exists.- Specified by:
getGpsDiffMode
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getGpsDiffMode
in interfaceImageMetadata
- Returns:
- the fix mode value
- Since:
- 19387
-
getGps2d3dMode
public java.lang.Integer getGps2d3dMode()
Description copied from interface:IImageEntry
Return the GPS 2d/3d mode value. The 2d/3d mode value from the temporary copy is returned if that copy exists.- Specified by:
getGps2d3dMode
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getGps2d3dMode
in interfaceImageMetadata
- Returns:
- the 2d/3d mode value
- Since:
- 19387
-
getExifGpsDatum
public java.lang.String getExifGpsDatum()
Description copied from interface:IImageEntry
Return the GPS datum value. The GPS datum value from the temporary copy is return if that copy exists.- Specified by:
getExifGpsDatum
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getExifGpsDatum
in interfaceImageMetadata
- Returns:
- the GPS datum value
- Since:
- 19387
-
getExifGpsProcMethod
public java.lang.String getExifGpsProcMethod()
Description copied from interface:IImageEntry
Return the GPS processing method. The processing method value from the temporary copy is return if that copy exists.- Specified by:
getExifGpsProcMethod
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getExifGpsProcMethod
in interfaceImageMetadata
- Returns:
- the GPS processing method
- Since:
- 19387
-
getExifImgDir
public java.lang.Double getExifImgDir()
Description copied from interface:IImageEntry
Returns the image direction. The image direction from the temporary copy is returned if that copy exists.- Specified by:
getExifImgDir
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getExifImgDir
in interfaceImageMetadata
- Returns:
- The image camera angle
- Since:
- 19387
-
getExifGpsTrack
public java.lang.Double getExifGpsTrack()
Description copied from interface:IImageEntry
Returns the image GPS track direction. The GPS track direction from the temporary copy is returned if that copy exists.- Specified by:
getExifGpsTrack
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getExifGpsTrack
in interfaceImageMetadata
- Returns:
- the image GPS track direction angle
- Since:
- 19387
-
getExifHPosErr
public java.lang.Double getExifHPosErr()
Description copied from interface:IImageEntry
Returns the image horizontal positionning error. The image positionning error from the temporary copy is returned if that copy exists.- Specified by:
getExifHPosErr
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getExifHPosErr
in interfaceImageMetadata
- Returns:
- the image horizontal positionning error
- Since:
- 19387
-
getExifGpsDop
public java.lang.Double getExifGpsDop()
Description copied from interface:IImageEntry
Return the GPS DOP value. The GPS DOP value from the temporary copy is return if that copy exists.- Specified by:
getExifGpsDop
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getExifGpsDop
in interfaceImageMetadata
- Returns:
- the GPS DOP value
- Since:
- 19387
-
getLastModified
public java.time.Instant getLastModified()
Description copied from interface:ImageMetadata
Get the last time the source was modified.- Specified by:
getLastModified
in interfaceImageMetadata
- Returns:
- The last time the source was modified
-
hasExifTime
public boolean hasExifTime()
Description copied from interface:IImageEntry
Convenient way to determine if this entry has a EXIF time, without the cost of building a defensive copy.- Specified by:
hasExifTime
in interfaceIImageEntry<RemoteEntry>
- Specified by:
hasExifTime
in interfaceImageMetadata
- Returns:
true
if this entry has a EXIF time
-
getExifGpsInstant
public java.time.Instant getExifGpsInstant()
Description copied from interface:IImageEntry
Returns the Exif GPS Time value. The Exif GPS time value from the temporary copy is returned if that copy exists.- Specified by:
getExifGpsInstant
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getExifGpsInstant
in interfaceImageMetadata
- Returns:
- the Exif GPS time value
-
hasExifGpsTime
public boolean hasExifGpsTime()
Description copied from interface:ImageMetadata
Convenient way to determine if this entry has a EXIF GPS time, without the cost of building a defensive copy.- Specified by:
hasExifGpsTime
in interfaceImageMetadata
- Returns:
true
if this entry has a EXIF GPS time
-
getExifCoor
public ILatLon getExifCoor()
Description copied from interface:ImageMetadata
Get the EXIF coordinates- Specified by:
getExifCoor
in interfaceImageMetadata
- Returns:
- The location of the image
-
getExifInstant
public java.time.Instant getExifInstant()
Description copied from interface:IImageEntry
Returns EXIF time- Specified by:
getExifInstant
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getExifInstant
in interfaceImageMetadata
- Returns:
- EXIF time
-
hasGpsTime
public boolean hasGpsTime()
Description copied from interface:IImageEntry
Convenient way to determine if this entry has a GPS time, without the cost of building a defensive copy.- Specified by:
hasGpsTime
in interfaceIImageEntry<RemoteEntry>
- Specified by:
hasGpsTime
in interfaceImageMetadata
- Returns:
true
if this entry has a GPS time
-
getGpsInstant
public java.time.Instant getGpsInstant()
Description copied from interface:IImageEntry
Returns the GPS time value. The GPS time value from the temporary copy is returned if that copy exists.- Specified by:
getGpsInstant
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getGpsInstant
in interfaceImageMetadata
- Returns:
- the GPS time value
-
getIptcCaption
public java.lang.String getIptcCaption()
Description copied from interface:IImageEntry
Returns the IPTC caption.- Specified by:
getIptcCaption
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getIptcCaption
in interfaceImageMetadata
- Returns:
- the IPTC caption
-
getIptcHeadline
public java.lang.String getIptcHeadline()
Description copied from interface:IImageEntry
Returns the IPTC headline.- Specified by:
getIptcHeadline
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getIptcHeadline
in interfaceImageMetadata
- Returns:
- the IPTC headline
-
getIptcKeywords
public java.util.List<java.lang.String> getIptcKeywords()
Description copied from interface:IImageEntry
Returns the IPTC keywords.- Specified by:
getIptcKeywords
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getIptcKeywords
in interfaceImageMetadata
- Returns:
- the IPTC keywords
-
getIptcObjectName
public java.lang.String getIptcObjectName()
Description copied from interface:IImageEntry
Returns the IPTC object name.- Specified by:
getIptcObjectName
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getIptcObjectName
in interfaceImageMetadata
- Returns:
- the IPTC object name
-
getProjectionType
public Projections getProjectionType()
Description copied from interface:IImageEntry
Get the camera projection type- Specified by:
getProjectionType
in interfaceIImageEntry<RemoteEntry>
- Specified by:
getProjectionType
in interfaceImageMetadata
- Returns:
- the camera projection type
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
Description copied from interface:ImageMetadata
Get the image input stream- Specified by:
getInputStream
in interfaceImageMetadata
- Returns:
- The input stream of the image
- Throws:
java.io.IOException
- If something happens during image read. See implementation for details.
-
selectImage
public void selectImage(ImageViewerDialog imageViewerDialog, IImageEntry<?> entry)
Description copied from interface:IImageEntry
Select a specific image- Specified by:
selectImage
in interfaceIImageEntry<RemoteEntry>
- Parameters:
imageViewerDialog
- The image viewer to updateentry
- The image to select
-
setProjectionType
public void setProjectionType(Projections newProjection)
Description copied from interface:ImageMetadata
Set the new projection type- Specified by:
setProjectionType
in interfaceImageMetadata
- Parameters:
newProjection
- The new type
-
setDisplayName
public void setDisplayName(java.lang.String text)
Set the display name for this entry- Parameters:
text
- The display name
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-