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.Doubleelevationprivate ILatLonexifCoorprivate java.lang.StringexifGpsDatumprivate java.lang.DoubleexifGpsDopprivate java.lang.StringexifGpsProcMethodprivate java.time.InstantexifGpsTimeprivate java.lang.DoubleexifGpsTrackprivate java.lang.DoubleexifHPosErrprivate java.lang.DoubleexifImgDirprivate java.lang.IntegerexifOrientationprivate java.time.InstantexifTimeprivate java.util.function.Supplier<RemoteEntry>firstImageprivate java.lang.Integergps2d3dModeprivate java.lang.IntegergpsDiffModeprivate java.time.InstantgpsTimeprivate intheightprivate java.lang.StringiptcCaptionprivate java.lang.StringiptcHeadlineprivate java.util.List<java.lang.String>iptcKeywordsprivate java.lang.StringiptcObjectNameprivate java.util.function.Supplier<RemoteEntry>lastImageprivate java.util.function.Supplier<RemoteEntry>nextImageprivate ILatLonposprivate java.util.function.Supplier<RemoteEntry>previousImageprivate Projectionsprojectionprivate java.lang.Doublespeedprivate java.lang.Stringtitleprivate java.net.URIuriprivate intwidth
-
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 booleanequals(java.lang.Object obj)java.lang.StringgetDisplayName()Returns a display name for this entry (shown in image viewer title bar)java.lang.DoublegetElevation()Returns the elevation value.ILatLongetExifCoor()Get the EXIF coordinatesjava.lang.StringgetExifGpsDatum()Return the GPS datum value.java.lang.DoublegetExifGpsDop()Return the GPS DOP value.java.time.InstantgetExifGpsInstant()Returns the Exif GPS Time value.java.lang.StringgetExifGpsProcMethod()Return the GPS processing method.java.lang.DoublegetExifGpsTrack()Returns the image GPS track direction.java.lang.DoublegetExifHPosErr()Returns the image horizontal positionning error.java.lang.DoublegetExifImgDir()Returns the image direction.java.time.InstantgetExifInstant()Returns EXIF timejava.lang.IntegergetExifOrientation()Returns EXIF orientationjava.io.FilegetFile()Returns associated file.RemoteEntrygetFirstImage()Get the first image for the data or sequencejava.lang.IntegergetGps2d3dMode()Return the GPS 2d/3d mode value.java.lang.IntegergetGpsDiffMode()Return the GPS Differential mode value.java.time.InstantgetGpsInstant()Returns the GPS time value.intgetHeight()Returns height of the image this ImageMetadata represents.java.net.URIgetImageURI()Get the URI for the imagejava.io.InputStreamgetInputStream()Get the image input streamjava.lang.StringgetIptcCaption()Returns the IPTC caption.java.lang.StringgetIptcHeadline()Returns the IPTC headline.java.util.List<java.lang.String>getIptcKeywords()Returns the IPTC keywords.java.lang.StringgetIptcObjectName()Returns the IPTC object name.RemoteEntrygetLastImage()Get the last image for the data or sequencejava.time.InstantgetLastModified()Get the last time the source was modified.RemoteEntrygetNextImage()Get what would be the next imageILatLongetPos()Returns the position value.RemoteEntrygetPreviousImage()Get the previous imageProjectionsgetProjectionType()Get the camera projection typejava.lang.DoublegetSpeed()Returns the speed value.java.time.InstantgetTimeSourceInstant(TimeSource timeSource)Return the time value selected with the parameter.intgetWidth()Returns width of the image this ImageMetadata represents.booleanhasExifGpsTime()Convenient way to determine if this entry has a EXIF GPS time, without the cost of building a defensive copy.booleanhasExifTime()Convenient way to determine if this entry has a EXIF time, without the cost of building a defensive copy.booleanhasGpsTime()Convenient way to determine if this entry has a GPS time, without the cost of building a defensive copy.inthashCode()voidselectImage(ImageViewerDialog imageViewerDialog, IImageEntry<?> entry)Select a specific imagevoidsetDisplayName(java.lang.String text)Set the display name for this entryvoidsetElevation(java.lang.Double elevation)Sets the elevation.voidsetExifCoor(ILatLon exifCoor)Sets the EXIF coordinatesvoidsetExifGpsDatum(java.lang.String exifGpsDatum)Sets the GPS datum value.voidsetExifGpsDop(java.lang.Double exifGpsDop)Sets the EXIF GPS DOP value.voidsetExifGpsProcMethod(java.lang.String exifGpsProcMethod)Sets the GPS processing method.voidsetExifGpsTime(java.time.Instant exifGpsTime)Sets the EXIF GPS time.voidsetExifGpsTrack(java.lang.Double exifGpsTrack)Sets the EXIF GPS track direction.voidsetExifHPosErr(java.lang.Double exifHPosError)Sets the EXIF horizontal positioning error.voidsetExifImgDir(java.lang.Double exifDir)Sets the EXIF directionvoidsetExifOrientation(java.lang.Integer exifOrientation)Sets EXIF orientation.voidsetExifTime(java.time.Instant exifTime)Sets EXIF time.voidsetGps2d3dMode(java.lang.Integer gps2d3dMode)Sets the GPS 2d/3d mode.voidsetGpsDiffMode(java.lang.Integer gpsDiffMode)Sets the GPS Differential mode.voidsetGpsTime(java.time.Instant gpsTime)Sets the GPS time.voidsetHeight(int height)Sets the height of this ImageEntry.voidsetIptcCaption(java.lang.String iptcCaption)Sets the IPTC caption.voidsetIptcHeadline(java.lang.String iptcHeadline)Sets the IPTC headline.voidsetIptcKeywords(java.util.List<java.lang.String> iptcKeywords)Sets the IPTC keywords.voidsetIptcObjectName(java.lang.String iptcObjectName)Sets the IPTC object name.voidsetPos(ILatLon pos)Sets the position.voidsetProjectionType(Projections newProjection)Set the new projection typevoidsetSpeed(java.lang.Double speed)Sets the speed.voidsetWidth(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:IImageEntryGet what would be the next image- Specified by:
getNextImagein interfaceIImageEntry<RemoteEntry>- Returns:
- The next image
-
getPreviousImage
public RemoteEntry getPreviousImage()
Description copied from interface:IImageEntryGet the previous image- Specified by:
getPreviousImagein interfaceIImageEntry<RemoteEntry>- Returns:
- The previous image
-
getFirstImage
public RemoteEntry getFirstImage()
Description copied from interface:IImageEntryGet the first image for the data or sequence- Specified by:
getFirstImagein interfaceIImageEntry<RemoteEntry>- Returns:
- The first image
-
getLastImage
public RemoteEntry getLastImage()
Description copied from interface:IImageEntryGet the last image for the data or sequence- Specified by:
getLastImagein interfaceIImageEntry<RemoteEntry>- Returns:
- The last image
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:IImageEntryReturns a display name for this entry (shown in image viewer title bar)- Specified by:
getDisplayNamein interfaceIImageEntry<RemoteEntry>- Specified by:
getDisplayNamein interfaceImageMetadata- Returns:
- a display name for this entry
-
setWidth
public void setWidth(int width)
Description copied from interface:IImageEntrySets the width of this ImageEntry.- Specified by:
setWidthin interfaceIImageEntry<RemoteEntry>- Specified by:
setWidthin interfaceImageMetadata- Parameters:
width- set the width of this ImageEntry
-
setHeight
public void setHeight(int height)
Description copied from interface:IImageEntrySets the height of this ImageEntry.- Specified by:
setHeightin interfaceIImageEntry<RemoteEntry>- Specified by:
setHeightin interfaceImageMetadata- Parameters:
height- set the height of this ImageEntry
-
setPos
public void setPos(ILatLon pos)
Description copied from interface:ImageMetadataSets the position.- Specified by:
setPosin interfaceImageMetadata- Parameters:
pos- position (will be cached)
-
setSpeed
public void setSpeed(java.lang.Double speed)
Description copied from interface:ImageMetadataSets the speed.- Specified by:
setSpeedin interfaceImageMetadata- Parameters:
speed- speed
-
setGpsDiffMode
public void setGpsDiffMode(java.lang.Integer gpsDiffMode)
Description copied from interface:ImageMetadataSets the GPS Differential mode.- Specified by:
setGpsDiffModein interfaceImageMetadata- Parameters:
gpsDiffMode- GPS Differential mode- Since:
- 19387
-
setGps2d3dMode
public void setGps2d3dMode(java.lang.Integer gps2d3dMode)
Description copied from interface:ImageMetadataSets the GPS 2d/3d mode.- Specified by:
setGps2d3dModein interfaceImageMetadata- Parameters:
gps2d3dMode- GPS 2d/3d mode- Since:
- 19387
-
setExifGpsDatum
public void setExifGpsDatum(java.lang.String exifGpsDatum)
Description copied from interface:ImageMetadataSets the GPS datum value.- Specified by:
setExifGpsDatumin interfaceImageMetadata- Parameters:
exifGpsDatum- GPS datum- Since:
- 19387
-
setExifGpsProcMethod
public void setExifGpsProcMethod(java.lang.String exifGpsProcMethod)
Description copied from interface:ImageMetadataSets the GPS processing method.- Specified by:
setExifGpsProcMethodin interfaceImageMetadata- Parameters:
exifGpsProcMethod- GPS processing method- Since:
- 19387
-
setElevation
public void setElevation(java.lang.Double elevation)
Description copied from interface:ImageMetadataSets the elevation.- Specified by:
setElevationin interfaceImageMetadata- Parameters:
elevation- elevation
-
setExifOrientation
public void setExifOrientation(java.lang.Integer exifOrientation)
Description copied from interface:ImageMetadataSets EXIF orientation.- Specified by:
setExifOrientationin interfaceImageMetadata- Parameters:
exifOrientation- EXIF orientation
-
setExifTime
public void setExifTime(java.time.Instant exifTime)
Description copied from interface:ImageMetadataSets EXIF time.- Specified by:
setExifTimein interfaceImageMetadata- Parameters:
exifTime- EXIF time
-
setExifGpsTime
public void setExifGpsTime(java.time.Instant exifGpsTime)
Description copied from interface:ImageMetadataSets the EXIF GPS time.- Specified by:
setExifGpsTimein interfaceImageMetadata- Parameters:
exifGpsTime- the EXIF GPS time
-
setGpsTime
public void setGpsTime(java.time.Instant gpsTime)
Description copied from interface:ImageMetadataSets the GPS time.- Specified by:
setGpsTimein interfaceImageMetadata- Parameters:
gpsTime- the GPS time
-
setExifCoor
public void setExifCoor(ILatLon exifCoor)
Description copied from interface:ImageMetadataSets the EXIF coordinates- Specified by:
setExifCoorin interfaceImageMetadata- Parameters:
exifCoor- The EXIF coordinates
-
setExifImgDir
public void setExifImgDir(java.lang.Double exifDir)
Description copied from interface:ImageMetadataSets the EXIF direction- Specified by:
setExifImgDirin interfaceImageMetadata- Parameters:
exifDir- The direction
-
setExifGpsTrack
public void setExifGpsTrack(java.lang.Double exifGpsTrack)
Description copied from interface:ImageMetadataSets the EXIF GPS track direction.- Specified by:
setExifGpsTrackin interfaceImageMetadata- Parameters:
exifGpsTrack- The GPS track direction- Since:
- 19387
-
setExifHPosErr
public void setExifHPosErr(java.lang.Double exifHPosError)
Description copied from interface:ImageMetadataSets the EXIF horizontal positioning error.- Specified by:
setExifHPosErrin interfaceImageMetadata- Parameters:
exifHPosError- the EXIF horizontal positionning error- Since:
- 19387
-
setExifGpsDop
public void setExifGpsDop(java.lang.Double exifGpsDop)
Description copied from interface:ImageMetadataSets the EXIF GPS DOP value.- Specified by:
setExifGpsDopin interfaceImageMetadata- Parameters:
exifGpsDop- the EXIF GPS DOP value- Since:
- 19387
-
setIptcCaption
public void setIptcCaption(java.lang.String iptcCaption)
Description copied from interface:ImageMetadataSets the IPTC caption.- Specified by:
setIptcCaptionin interfaceImageMetadata- Parameters:
iptcCaption- the IPTC caption
-
setIptcHeadline
public void setIptcHeadline(java.lang.String iptcHeadline)
Description copied from interface:ImageMetadataSets the IPTC headline.- Specified by:
setIptcHeadlinein interfaceImageMetadata- Parameters:
iptcHeadline- the IPTC headline
-
setIptcKeywords
public void setIptcKeywords(java.util.List<java.lang.String> iptcKeywords)
Description copied from interface:ImageMetadataSets the IPTC keywords.- Specified by:
setIptcKeywordsin interfaceImageMetadata- Parameters:
iptcKeywords- the IPTC keywords
-
setIptcObjectName
public void setIptcObjectName(java.lang.String iptcObjectName)
Description copied from interface:ImageMetadataSets the IPTC object name.- Specified by:
setIptcObjectNamein interfaceImageMetadata- Parameters:
iptcObjectName- the IPTC object name
-
getExifOrientation
public java.lang.Integer getExifOrientation()
Description copied from interface:ImageMetadataReturns EXIF orientation- Specified by:
getExifOrientationin interfaceImageMetadata- Returns:
- EXIF orientation
-
getFile
public java.io.File getFile()
Description copied from interface:IImageEntryReturns associated file.- Specified by:
getFilein interfaceIImageEntry<RemoteEntry>- Returns:
- associated file
-
getImageURI
public java.net.URI getImageURI()
Description copied from interface:IImageEntryGet the URI for the image- Specified by:
getImageURIin interfaceIImageEntry<RemoteEntry>- Specified by:
getImageURIin interfaceImageMetadata- Returns:
- The image URI
-
getWidth
public int getWidth()
Description copied from interface:ImageMetadataReturns width of the image this ImageMetadata represents.- Specified by:
getWidthin interfaceImageMetadata- Returns:
- width of the image this ImageMetadata represents
-
getHeight
public int getHeight()
Description copied from interface:ImageMetadataReturns height of the image this ImageMetadata represents.- Specified by:
getHeightin interfaceImageMetadata- Returns:
- height of the image this ImageMetadata represents
-
getPos
public ILatLon getPos()
Description copied from interface:IImageEntryReturns the position value. The position value from the temporary copy is returned if that copy exists.- Specified by:
getPosin interfaceIImageEntry<RemoteEntry>- Specified by:
getPosin interfaceImageMetadata- Returns:
- the position value
-
getSpeed
public java.lang.Double getSpeed()
Description copied from interface:IImageEntryReturns the speed value. The speed value from the temporary copy is returned if that copy exists.- Specified by:
getSpeedin interfaceIImageEntry<RemoteEntry>- Specified by:
getSpeedin interfaceImageMetadata- Returns:
- the speed value
-
getElevation
public java.lang.Double getElevation()
Description copied from interface:IImageEntryReturns the elevation value. The elevation value from the temporary copy is returned if that copy exists.- Specified by:
getElevationin interfaceIImageEntry<RemoteEntry>- Specified by:
getElevationin interfaceImageMetadata- Returns:
- the elevation value
-
getGpsDiffMode
public java.lang.Integer getGpsDiffMode()
Description copied from interface:IImageEntryReturn the GPS Differential mode value. The differential mode value from the temporary copy is returned if that copy exists.- Specified by:
getGpsDiffModein interfaceIImageEntry<RemoteEntry>- Specified by:
getGpsDiffModein interfaceImageMetadata- Returns:
- the fix mode value
- Since:
- 19387
-
getGps2d3dMode
public java.lang.Integer getGps2d3dMode()
Description copied from interface:IImageEntryReturn the GPS 2d/3d mode value. The 2d/3d mode value from the temporary copy is returned if that copy exists.- Specified by:
getGps2d3dModein interfaceIImageEntry<RemoteEntry>- Specified by:
getGps2d3dModein interfaceImageMetadata- Returns:
- the 2d/3d mode value
- Since:
- 19387
-
getExifGpsDatum
public java.lang.String getExifGpsDatum()
Description copied from interface:IImageEntryReturn the GPS datum value. The GPS datum value from the temporary copy is return if that copy exists.- Specified by:
getExifGpsDatumin interfaceIImageEntry<RemoteEntry>- Specified by:
getExifGpsDatumin interfaceImageMetadata- Returns:
- the GPS datum value
- Since:
- 19387
-
getExifGpsProcMethod
public java.lang.String getExifGpsProcMethod()
Description copied from interface:IImageEntryReturn the GPS processing method. The processing method value from the temporary copy is return if that copy exists.- Specified by:
getExifGpsProcMethodin interfaceIImageEntry<RemoteEntry>- Specified by:
getExifGpsProcMethodin interfaceImageMetadata- Returns:
- the GPS processing method
- Since:
- 19387
-
getExifImgDir
public java.lang.Double getExifImgDir()
Description copied from interface:IImageEntryReturns the image direction. The image direction from the temporary copy is returned if that copy exists.- Specified by:
getExifImgDirin interfaceIImageEntry<RemoteEntry>- Specified by:
getExifImgDirin interfaceImageMetadata- Returns:
- The image camera angle
- Since:
- 19387
-
getExifGpsTrack
public java.lang.Double getExifGpsTrack()
Description copied from interface:IImageEntryReturns the image GPS track direction. The GPS track direction from the temporary copy is returned if that copy exists.- Specified by:
getExifGpsTrackin interfaceIImageEntry<RemoteEntry>- Specified by:
getExifGpsTrackin interfaceImageMetadata- Returns:
- the image GPS track direction angle
- Since:
- 19387
-
getExifHPosErr
public java.lang.Double getExifHPosErr()
Description copied from interface:IImageEntryReturns the image horizontal positionning error. The image positionning error from the temporary copy is returned if that copy exists.- Specified by:
getExifHPosErrin interfaceIImageEntry<RemoteEntry>- Specified by:
getExifHPosErrin interfaceImageMetadata- Returns:
- the image horizontal positionning error
- Since:
- 19387
-
getExifGpsDop
public java.lang.Double getExifGpsDop()
Description copied from interface:IImageEntryReturn the GPS DOP value. The GPS DOP value from the temporary copy is return if that copy exists.- Specified by:
getExifGpsDopin interfaceIImageEntry<RemoteEntry>- Specified by:
getExifGpsDopin interfaceImageMetadata- Returns:
- the GPS DOP value
- Since:
- 19387
-
getLastModified
public java.time.Instant getLastModified()
Description copied from interface:ImageMetadataGet the last time the source was modified.- Specified by:
getLastModifiedin interfaceImageMetadata- Returns:
- The last time the source was modified
-
hasExifTime
public boolean hasExifTime()
Description copied from interface:IImageEntryConvenient way to determine if this entry has a EXIF time, without the cost of building a defensive copy.- Specified by:
hasExifTimein interfaceIImageEntry<RemoteEntry>- Specified by:
hasExifTimein interfaceImageMetadata- Returns:
trueif this entry has a EXIF time
-
getTimeSourceInstant
public java.time.Instant getTimeSourceInstant(TimeSource timeSource)
Description copied from interface:ImageMetadataReturn the time value selected with the parameter.- Specified by:
getTimeSourceInstantin interfaceImageMetadata- Parameters:
timeSource- the wanted time value, exifCamTime or exifGpsTime- Returns:
- exifInstant or exifGpsInstant value
-
getExifGpsInstant
public java.time.Instant getExifGpsInstant()
Description copied from interface:IImageEntryReturns the Exif GPS Time value. The Exif GPS time value from the temporary copy is returned if that copy exists.- Specified by:
getExifGpsInstantin interfaceIImageEntry<RemoteEntry>- Specified by:
getExifGpsInstantin interfaceImageMetadata- Returns:
- the Exif GPS time value
-
hasExifGpsTime
public boolean hasExifGpsTime()
Description copied from interface:ImageMetadataConvenient way to determine if this entry has a EXIF GPS time, without the cost of building a defensive copy.- Specified by:
hasExifGpsTimein interfaceImageMetadata- Returns:
trueif this entry has a EXIF GPS time
-
getExifCoor
public ILatLon getExifCoor()
Description copied from interface:ImageMetadataGet the EXIF coordinates- Specified by:
getExifCoorin interfaceImageMetadata- Returns:
- The location of the image
-
getExifInstant
public java.time.Instant getExifInstant()
Description copied from interface:IImageEntryReturns EXIF time- Specified by:
getExifInstantin interfaceIImageEntry<RemoteEntry>- Specified by:
getExifInstantin interfaceImageMetadata- Returns:
- EXIF time
-
hasGpsTime
public boolean hasGpsTime()
Description copied from interface:IImageEntryConvenient way to determine if this entry has a GPS time, without the cost of building a defensive copy.- Specified by:
hasGpsTimein interfaceIImageEntry<RemoteEntry>- Specified by:
hasGpsTimein interfaceImageMetadata- Returns:
trueif this entry has a GPS time
-
getGpsInstant
public java.time.Instant getGpsInstant()
Description copied from interface:IImageEntryReturns the GPS time value. The GPS time value from the temporary copy is returned if that copy exists.- Specified by:
getGpsInstantin interfaceIImageEntry<RemoteEntry>- Specified by:
getGpsInstantin interfaceImageMetadata- Returns:
- the GPS time value
-
getIptcCaption
public java.lang.String getIptcCaption()
Description copied from interface:IImageEntryReturns the IPTC caption.- Specified by:
getIptcCaptionin interfaceIImageEntry<RemoteEntry>- Specified by:
getIptcCaptionin interfaceImageMetadata- Returns:
- the IPTC caption
-
getIptcHeadline
public java.lang.String getIptcHeadline()
Description copied from interface:IImageEntryReturns the IPTC headline.- Specified by:
getIptcHeadlinein interfaceIImageEntry<RemoteEntry>- Specified by:
getIptcHeadlinein interfaceImageMetadata- Returns:
- the IPTC headline
-
getIptcKeywords
public java.util.List<java.lang.String> getIptcKeywords()
Description copied from interface:IImageEntryReturns the IPTC keywords.- Specified by:
getIptcKeywordsin interfaceIImageEntry<RemoteEntry>- Specified by:
getIptcKeywordsin interfaceImageMetadata- Returns:
- the IPTC keywords
-
getIptcObjectName
public java.lang.String getIptcObjectName()
Description copied from interface:IImageEntryReturns the IPTC object name.- Specified by:
getIptcObjectNamein interfaceIImageEntry<RemoteEntry>- Specified by:
getIptcObjectNamein interfaceImageMetadata- Returns:
- the IPTC object name
-
getProjectionType
public Projections getProjectionType()
Description copied from interface:IImageEntryGet the camera projection type- Specified by:
getProjectionTypein interfaceIImageEntry<RemoteEntry>- Specified by:
getProjectionTypein interfaceImageMetadata- Returns:
- the camera projection type
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
Description copied from interface:ImageMetadataGet the image input stream- Specified by:
getInputStreamin 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:IImageEntrySelect a specific image- Specified by:
selectImagein interfaceIImageEntry<RemoteEntry>- Parameters:
imageViewerDialog- The image viewer to updateentry- The image to select
-
setProjectionType
public void setProjectionType(Projections newProjection)
Description copied from interface:ImageMetadataSet the new projection type- Specified by:
setProjectionTypein 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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-