public class SystemFile extends Object implements Comparable
| Constructor and Description |
|---|
SystemFile() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object file)
Compare files name in order to sort files by name
|
Date |
getDate()
Gets the date
|
String |
getDescription()
Gets the description
|
String |
getDirectory()
Gets the directory
|
String |
getName()
Gets the name
|
int |
getSize()
Gets the size
|
void |
setDate(Date date)
Sets the date
|
void |
setDescription(String strDescription)
Sets the description
|
void |
setDirectory(String strDirectory)
Sets the directory
|
void |
setName(String strName)
Sets the name
|
void |
setSize(int size)
Sets the size
|
public String getName()
public void setName(String strName)
strName - The namepublic String getDescription()
public void setDescription(String strDescription)
strDescription - The descriptionpublic String getDirectory()
public void setDirectory(String strDirectory)
strDirectory - The directorypublic Date getDate()
public void setDate(Date date)
date - The datepublic int getSize()
public void setSize(int size)
size - The sizepublic int compareTo(Object file)
compareTo in interface Comparablefile - The file to compareCopyright © 2020 City of Paris. All rights reserved.