|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.gsfc.spdf.cdas.FileDescription
public class FileDescription
This class represents the description of a Coordinated Data Analysis System data file.
| Constructor Summary | |
|---|---|
FileDescription()
Constructs a FileDescription with a null value. |
|
FileDescription(java.lang.String name,
java.lang.String mimeType,
java.util.Date startTime,
java.util.Date endTime,
long length,
java.util.Date lastModified)
Constructs a FileDescription with the given attribute values. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
java.util.Date |
getEndTime()
Gets the end time of the file's contents. |
java.util.Date |
getLastModified()
Gets the file's lastModified value. |
long |
getLength()
Gets the file's length. |
java.lang.String |
getMimeType()
Gets the file's MIME-type value. |
java.lang.String |
getName()
Gets the file's name. |
java.util.Date |
getStartTime()
Gets the start time of the file's contents. |
void |
setEndTime(java.util.Date value)
Sets the end time of the file's contents. |
void |
setLastModified(java.util.Date value)
Sets the file's name. |
void |
setLength(long value)
Sets the file's length. |
void |
setMimeType(java.lang.String value)
Sets the file's MIME-type value. |
void |
setName(java.lang.String value)
Sets the file's name. |
void |
setStartTime(java.util.Date value)
Sets the start time of the file's contents. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileDescription()
public FileDescription(java.lang.String name,
java.lang.String mimeType,
java.util.Date startTime,
java.util.Date endTime,
long length,
java.util.Date lastModified)
name - name of filemimeType - MIME-type of filestartTime - start time of data contained in fileendTime - end time of data contained in filelength - length of file in byteslastModified - time when file as last modified| Method Detail |
|---|
public java.lang.String getName()
setName(java.lang.String)public void setName(java.lang.String value)
value - new name valuegetName()public java.lang.String getMimeType()
setMimeType(java.lang.String)public void setMimeType(java.lang.String value)
value - new mimeType valuegetMimeType()public java.util.Date getStartTime()
setStartTime(java.util.Date)public void setStartTime(java.util.Date value)
value - new startTime valuegetStartTime()public java.util.Date getEndTime()
setEndTime(java.util.Date)public void setEndTime(java.util.Date value)
value - new endTime valuegetEndTime()public long getLength()
setLength(long)public void setLength(long value)
value - new length valuegetLength()public java.util.Date getLastModified()
setLastModified(java.util.Date)public void setLastModified(java.util.Date value)
value - new lastModified valuegetLastModified()public java.lang.Object clone()
clone in class java.lang.ObjectObject.clone()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||