Class WikimediaCommonsEntry
- java.lang.Object
-
- org.openstreetmap.josm.data.gpx.GpxImageEntry
-
- org.openstreetmap.josm.gui.layer.geoimage.ImageEntry
-
- org.openstreetmap.josm.gui.layer.geoimage.WikimediaCommonsEntry
-
- All Implemented Interfaces:
java.lang.Comparable<GpxImageEntry>,IImageEntry<ImageEntry>,IQuadBucketType,ImageMetadata
class WikimediaCommonsEntry extends ImageEntry
A geocoded image from Wikimedia Commons
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringtitle
-
Constructor Summary
Constructors Constructor Description WikimediaCommonsEntry(java.lang.String title, LatLon latLon)
-
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 entryjava.net.URIgetImageURI()Get the image locationprotected java.net.URLgetImageUrl()inthashCode()java.lang.StringtoString()String representation.-
Methods inherited from class org.openstreetmap.josm.gui.layer.geoimage.ImageEntry
delete, getDataSet, getFirstImage, getLastImage, getNextImage, getPreviousImage, getThumbnail, hasThumbnail, isDeleteSupported, isRemoveSupported, loadThumbnail, read, remove, selectImage, setDataSet, setThumbnail, tmpUpdated
-
Methods inherited from class org.openstreetmap.josm.data.gpx.GpxImageEntry
applyTmp, asWayPoint, compareTo, createTmp, discardTmp, extractExif, flagNewGpsData, getBBox, getElevation, getExifCoor, getExifGpsDatum, getExifGpsDop, getExifGpsInstant, getExifGpsProcMethod, getExifGpsTrack, getExifHPosErr, getExifImgDir, getExifInstant, getExifOrientation, getFile, getGps2d3dMode, getGpsDiffMode, getGpsInstant, getHeight, getInputStream, getIptcCaption, getIptcHeadline, getIptcKeywords, getIptcObjectName, getLastModified, getPos, getProjectionType, getSpeed, getTimeSourceInstant, getTmp, getWidth, hasExifGpsTime, hasExifTime, hasGpsTime, hasNewGpsData, isTagged, setElevation, setExifCoor, setExifCoor, setExifGpsDatum, setExifGpsDop, setExifGpsProcMethod, setExifGpsTime, setExifGpsTrack, setExifHPosErr, setExifImgDir, setExifOrientation, setExifTime, setFile, setGps2d3dMode, setGpsDiffMode, setGpsTime, setHeight, setIptcCaption, setIptcHeadline, setIptcKeywords, setIptcObjectName, setPos, setPos, setPos, setProjectionType, setSpeed, setWidth, unflagNewGpsData
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openstreetmap.josm.data.imagery.street_level.IImageEntry
getElevation, getExifGpsDatum, getExifGpsDop, getExifGpsInstant, getExifGpsProcMethod, getExifGpsTrack, getExifHPosErr, getExifImgDir, getExifInstant, getFile, getGps2d3dMode, getGpsDiffMode, getGpsInstant, getIptcCaption, getIptcHeadline, getIptcKeywords, getIptcObjectName, getPos, getProjectionType, getSpeed, hasExifTime, hasGpsTime, selectFirstImage, selectLastImage, selectNextImage, selectPreviousImage, setHeight, setWidth
-
-
-
-
Field Detail
-
title
private final java.lang.String title
-
-
Constructor Detail
-
WikimediaCommonsEntry
WikimediaCommonsEntry(java.lang.String title, LatLon latLon)
-
-
Method Detail
-
getImageUrl
protected java.net.URL getImageUrl() throws java.net.MalformedURLException
- Overrides:
getImageUrlin classImageEntry- Throws:
java.net.MalformedURLException
-
getImageURI
public java.net.URI getImageURI()
Description copied from interface:ImageMetadataGet the image location- Specified by:
getImageURIin interfaceIImageEntry<ImageEntry>- Specified by:
getImageURIin interfaceImageMetadata- Overrides:
getImageURIin classGpxImageEntry- Returns:
- The image location
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from class:GpxImageEntryReturns a display name for this entry- Specified by:
getDisplayNamein interfaceIImageEntry<ImageEntry>- Specified by:
getDisplayNamein interfaceImageMetadata- Overrides:
getDisplayNamein classGpxImageEntry- Returns:
- a display name for this entry
-
toString
public java.lang.String toString()
Description copied from class:GpxImageEntryString representation. (only partial info)- Overrides:
toStringin classGpxImageEntry
-
hashCode
public int hashCode()
- Overrides:
hashCodein classImageEntry
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classImageEntry
-
-