|
|||||||||
| Home >> All >> org >> ydp >> [ ui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.ydp.ui
Class PhotoInfo

java.lang.Objectorg.ydp.ui.PhotoInfo
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class PhotoInfo
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
- extends java.lang.Object
| Constructor Summary | |
PhotoInfo()
|
|
PhotoInfo(java.io.File file)
|
|
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
NEW
private final java.lang.String NEW
- See Also:
- Constant Field Values
MODIFIED
private final java.lang.String MODIFIED
- See Also:
- Constant Field Values
CURRENT
private final java.lang.String CURRENT
- See Also:
- Constant Field Values
filePath
private java.lang.String filePath
thumbPath
private java.lang.String thumbPath
thumbName
private java.lang.String thumbName
status
private java.lang.String status
fileName
private java.lang.String fileName
url
private java.lang.String url
thumburl
private java.lang.String thumburl
subject
private java.lang.String subject
place
private java.lang.String place
description
private java.lang.String description
equipment_maker
private java.lang.String equipment_maker
equipment_model
private java.lang.String equipment_model
software
private java.lang.String software
exposure_time
private java.lang.String exposure_time
lens_fnumber
private java.lang.String lens_fnumber
exposure_program
private java.lang.String exposure_program
iso_speed_equivalent
private java.lang.String iso_speed_equivalent
date_original
private java.lang.String date_original
time_original
private java.lang.String time_original
maximum_aperture
private java.lang.String maximum_aperture
exposure_metering_mode
private java.lang.String exposure_metering_mode
light_source
private java.lang.String light_source
flash
private java.lang.String flash
lens_focal_length
private java.lang.String lens_focal_length
color_space
private java.lang.String color_space
image_width
private java.lang.String image_width
image_height
private java.lang.String image_height
| Constructor Detail |
PhotoInfo
public PhotoInfo()
PhotoInfo
public PhotoInfo(java.io.File file)
| Method Detail |
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
clone
public java.lang.Object clone()
- Description copied from class:
java.lang.Object - This method may be called to create a new copy of the
Object. The typical behavior is as follows:
o == o.clone()is falseo.getClass() == o.clone().getClass()is trueo.equals(o)is true
However, these are not strict requirements, and may be violated if necessary. Of the three requirements, the last is the most commonly violated, particularly if the subclass does not override Object.equals(Object)>
Object.equals(Object)55 .If the Object you call clone() on does not implement java.lang.Cloneable (which is a placeholder interface), then a CloneNotSupportedException is thrown. Notice that Object does not implement Cloneable; this method exists as a convenience for subclasses that do.
Object's implementation of clone allocates space for the new Object using the correct class, without calling any constructors, and then fills in all of the new field values with the old field values. Thus, it is a shallow copy. However, subclasses are permitted to make a deep copy.
All array types implement Cloneable, and override this method as follows (it should never fail):
public Object clone() { try { super.clone(); } catch (CloneNotSupportedException e) { throw new InternalError(e.getMessage()); } }
equals
public boolean equals(java.lang.Object ob)
- Description copied from class:
java.lang.Object - Determine whether this Object is semantically equal
to another Object.
There are some fairly strict requirements on this method which subclasses must follow:
- It must be transitive. If
a.equals(b)andb.equals(c), thena.equals(c)must be true as well. - It must be symmetric.
a.equals(b)andb.equals(a)must have the same value. - It must be reflexive.
a.equals(a)must always be true. - It must be consistent. Whichever value a.equals(b) returns on the first invocation must be the value returned on all later invocations.
a.equals(null)must be false.- It must be consistent with hashCode(). That is,
a.equals(b)must implya.hashCode() == b.hashCode(). The reverse is not true; two objects that are not equal may have the same hashcode, but that has the potential to harm hashing performance.
This is typically overridden to throw a java.lang.ClassCastException if the argument is not comparable to the class performing the comparison, but that is not a requirement. It is legal for
a.equals(b)to be true even thougha.getClass() != b.getClass(). Also, it is typical to never cause a java.lang.NullPointerException.In general, the Collections API (
java.util) use theequalsmethod rather than the==operator to compare objects. However, java.util.IdentityHashMap is an exception to this rule, for its own good reasons.The default implementation returns
this == o. - It must be transitive. If
toVector
public java.util.Vector toVector()
getThumbPath
public java.lang.String getThumbPath()
getThumbURL
public java.lang.String getThumbURL()
setThumbPath
public void setThumbPath(java.lang.String str)
setThumbURL
public void setThumbURL(java.lang.String str)
getStatus
public java.lang.String getStatus()
setStatus
public void setStatus(java.lang.String str)
getThumbName
public java.lang.String getThumbName()
setThumbName
public void setThumbName(java.lang.String str)
getURL
public java.lang.String getURL()
setURL
public void setURL(java.lang.String str)
getSubject
public java.lang.String getSubject()
setSubject
public void setSubject(java.lang.String str)
getPlace
public java.lang.String getPlace()
setPlace
public void setPlace(java.lang.String str)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String str)
getFileName
public java.lang.String getFileName()
- Returns the filename of the photo
getFilePath
public java.lang.String getFilePath()
- Returns the path of the photo
getEquipmentMaker
public java.lang.String getEquipmentMaker()
- Returns EXIF tag value of equipment maker
getEquipmentModel
public java.lang.String getEquipmentModel()
- Returns EXIF tag value of equipment model
getSoftware
public java.lang.String getSoftware()
- Returns EXIF tag value of software
getExposureTime
public java.lang.String getExposureTime()
- Returns EXIF tag value of exposure time
getLensFNumber
public java.lang.String getLensFNumber()
- Returns EXIF tag value of lens F-number
getExposureProgram
public java.lang.String getExposureProgram()
- Returns EXIF tag value of exposure program
* @return Stringeger value of exposure program,
-1if unavailable
getISOSpeedEquivalent
public java.lang.String getISOSpeedEquivalent()
- Returns EXIF tag value of ISO speed equivalent
getDateOriginal
public java.lang.String getDateOriginal()
- Returns EXIF tag value of date (original)
getTimeOriginal
public java.lang.String getTimeOriginal()
- Returns EXIF tag value of time (original)
getMaximumApertureSetting
public java.lang.String getMaximumApertureSetting()
- Returns EXIF tag value of maximum aperture setting
getExposureMeteringMode
public java.lang.String getExposureMeteringMode()
- Returns EXIF tag value of exposure metering mode
getLightSource
public java.lang.String getLightSource()
- Returns EXIF tag value of light source setting
getFlash
public java.lang.String getFlash()
- Returns EXIF tag value of flash status
getLensFocalLength
public java.lang.String getLensFocalLength()
- Returns EXIF tag value of lens focal length
getColorSpace
public java.lang.String getColorSpace()
- Returns EXIF tag value of color space
getImageWidth
public java.lang.String getImageWidth()
- Returns EXIF tag value of image width
getImageHeight
public java.lang.String getImageHeight()
- Returns EXIF tag value of image height
setFileName
public void setFileName(java.lang.String str)
setFilePath
public void setFilePath(java.lang.String str)
setEquipmentMaker
public void setEquipmentMaker(java.lang.String str)
setEquipmentModel
public void setEquipmentModel(java.lang.String str)
setSoftware
public void setSoftware(java.lang.String str)
setExposureTime
public void setExposureTime(java.lang.String str)
setLensFNumber
public void setLensFNumber(java.lang.String str)
setExposureProgram
public void setExposureProgram(java.lang.String n)
setISOSpeedEquivalent
public void setISOSpeedEquivalent(java.lang.String n)
setDateOriginal
public void setDateOriginal(java.lang.String str)
setTimeOriginal
public void setTimeOriginal(java.lang.String str)
setMaximumApertureSetting
public void setMaximumApertureSetting(java.lang.String str)
setExposureMeteringMode
public void setExposureMeteringMode(java.lang.String n)
setLightSource
public void setLightSource(java.lang.String n)
setFlash
public void setFlash(java.lang.String n)
setLensFocalLength
public void setLensFocalLength(java.lang.String str)
setColorSpace
public void setColorSpace(java.lang.String n)
setImageWidth
public void setImageWidth(java.lang.String n)
setImageHeight
public void setImageHeight(java.lang.String n)
|
|||||||||
| Home >> All >> org >> ydp >> [ ui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.ydp.ui.PhotoInfo