|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ginp.Picture
public class Picture
This class represents a Picture. It contains a repository of functionality for Pictures. It is designed to be called as a tempoary object that is used and then discarded.
Constructor Summary | |
---|---|
Picture()
Constructor for the Picture object |
|
Picture(java.lang.String setAbsPath,
java.lang.String setFileName)
Constructor for the PicCollection object. |
Method Summary | |
---|---|
java.lang.String |
getAbsLocation()
Gets the absLocation attribute of the Picture object |
int |
getCollection_id()
Returns the value of collection_id. |
java.lang.String |
getCollection_name()
Returns the value of collection_name. |
java.lang.String |
getDate(java.lang.String formatPattern,
java.util.Locale locale)
Gets the date attribute of the Picture object. |
java.lang.String |
getDescription(java.util.Locale loc)
|
java.lang.String |
getFileName()
Gets the fileName attribute of the Picture object |
java.lang.String |
getId()
Gets the id attribute of the Picture object |
java.lang.String |
getTime()
Gets the time attribute of the Picture object |
java.util.Date |
getTimestamp()
Gets the timestamp attribute of the Picture object |
java.lang.String |
getTitle()
Gets the title attribute of the Picture object |
void |
setAbsLocation(java.lang.String str)
Sets the absLocation attribute of the Picture object |
void |
setCollection_id(int collection_id)
Sets the value of collection_id. |
void |
setCollection_name(java.lang.String collection_name)
Sets the value of collection_name. |
boolean |
setDateTime(java.lang.String str)
Sets the Date and Time attributes of the Picture object based on EXIF tag value |
void |
setId(java.lang.String str)
Sets the id attribute of the Picture object |
void |
setTimestamp(java.util.Date d)
Sets the timestamp attribute of the Picture object |
void |
setTitle(java.lang.String s)
Sets the title attribute of the Picture object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Picture()
public Picture(java.lang.String setAbsPath, java.lang.String setFileName)
setAbsPath
- path to the jpeg file (can be null or empty). Path
separator is ALWAYS "/", regardless of platform.
A training path separator is mandatory.setFileName
- filename of the jpeg. It can include some path
elements, which will be appended to the absPath.Method Detail |
---|
public int getCollection_id()
public void setCollection_id(int collection_id)
collection_id
- The value to assign collection_id.public java.lang.String getCollection_name()
public void setCollection_name(java.lang.String collection_name)
collection_name
- The value to assign collection_name.public void setAbsLocation(java.lang.String str)
str
- The new absLocation valuepublic boolean setDateTime(java.lang.String str)
str
- The new Date/Time setting String value
public void setId(java.lang.String str)
str
- The new id valuepublic void setTimestamp(java.util.Date d)
d
- The new timestamp valuepublic void setTitle(java.lang.String s)
s
- The new title valuepublic java.lang.String getAbsLocation()
public java.lang.String getDate(java.lang.String formatPattern, java.util.Locale locale)
formatPattern
- Description of the Parameterlocale
- Prefered Locale
public java.lang.String getFileName()
public java.lang.String getId()
public java.lang.String getTime()
public java.util.Date getTimestamp()
public java.lang.String getTitle()
public java.lang.String getDescription(java.util.Locale loc)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |