public class DirectoryItem extends Object implements Comparable<DirectoryItem>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DirectoryItem another) |
long |
getFileCode() |
String |
getLicense() |
String |
getName() |
String |
getPhoto() |
String |
getPublisher() |
long |
getSize() |
long |
getTime() |
String |
getType() |
boolean |
isFolder()
Check if the item is a folder.
|
void |
setFileCode(long fileCode) |
void |
setLicense(String license) |
void |
setName(String name) |
void |
setPhoto(String photo) |
void |
setPublisher(String publisher) |
void |
setSize(int size) |
void |
setTime(long time) |
void |
setType(String type) |
public boolean isFolder()
public void setName(String name)
public void setFileCode(long fileCode)
public void setType(String type)
public void setSize(int size)
public void setTime(long time)
public void setLicense(String license)
public void setPublisher(String publisher)
public void setPhoto(String photo)
public String getName()
public String getType()
public long getFileCode()
public long getSize()
public long getTime()
public String getLicense()
public String getPublisher()
public String getPhoto()
public int compareTo(DirectoryItem another)
compareTo
in interface Comparable<DirectoryItem>