| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | REVISION | 
| Constructor and Description | 
|---|
| FileEntry(org.jdom.Element elt)Constructs a FileEntry from an XML representation | 
| FileEntry(java.lang.String url,
         java.lang.String path,
         long lastModified,
         long size,
         java.lang.String ticket)Constructs a FileEntry | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(FileEntry fileEntry) | 
| java.io.File | getFileMarker() | 
| java.lang.String | getFilename()Returns the filename of the file to be downloaded. | 
| long | getLastModified()Get the value of lastModified. | 
| java.lang.String | getPath()Get the value of path. | 
| long | getSize()Get the value of size. | 
| java.lang.String | getTicket()Get the value of ticket. | 
| java.lang.String | getUrid() | 
| java.lang.String | getUrl()Get the value of url. | 
| void | setFileMarker(java.io.File fileMarker) | 
| void | setLastModified(long v)Set the value of lastModified. | 
| void | setPath(java.lang.String v)Set the value of path. | 
| void | setSize(long v)Set the value of size. | 
| void | setTicket(java.lang.String v)Set the value of ticket. | 
| void | setUrid(java.lang.String urid) | 
| void | setUrl(java.lang.String v)Set the value of url. | 
| java.lang.String | toString() | 
| java.lang.String | toXml()Returns an XML representation of this FileEntry. | 
public static final java.lang.String REVISION
public FileEntry(java.lang.String url,
                 java.lang.String path,
                 long lastModified,
                 long size,
                 java.lang.String ticket)
url - the url of the file to be downloadedpath - the relative path of the filelastModified - the last-modified time, measured in milliseconds since the epoch (00:00:00 GMT, January 1, 1970)size - the size of the filepublic FileEntry(org.jdom.Element elt)
elt - the XML representationpublic java.lang.String toXml()
public java.lang.String getFilename()
public int compareTo(FileEntry fileEntry)
compareTo in interface java.lang.Comparable<FileEntry>public java.lang.String getUrl()
public void setUrl(java.lang.String v)
v - Value to assign to url.public java.lang.String getPath()
public void setPath(java.lang.String v)
v - Value to assign to path.public long getLastModified()
public void setLastModified(long v)
v - Value to assign to lastModified.public long getSize()
public void setSize(long v)
v - Value to assign to size.public java.lang.String getTicket()
public void setTicket(java.lang.String v)
v - Value to assign to ticket.public java.lang.String toString()
toString in class java.lang.Objectpublic java.io.File getFileMarker()
public void setFileMarker(java.io.File fileMarker)
public java.lang.String getUrid()
public void setUrid(java.lang.String urid)
Copyright © 2001-2019 Jalios SA. All Rights Reserved.