public class FileData extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
UNDEFINED_SIZE
If file size can't be determined in some rare cases this constant should be used.
|
| Constructor and Description |
|---|
FileData() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor()
The author of the last modification.
|
String |
getComment()
The comment for the file.
|
Date |
getModifiedAt()
The last modification time.
|
String |
getName()
The full path of the file from the root folder.
|
long |
getSize()
The file size in bytes.
|
String |
getVersion()
The version of the file.
|
boolean |
isDeleted()
The mark that the file was deleted.
|
void |
setAuthor(String author) |
void |
setComment(String comment) |
void |
setDeleted(boolean deleted) |
void |
setModifiedAt(Date modifiedAt) |
void |
setName(String name) |
void |
setSize(long size) |
void |
setVersion(String version) |
public static final long UNDEFINED_SIZE
public String getName()
public void setName(String name)
public long getSize()
public void setSize(long size)
public String getAuthor()
public void setAuthor(String author)
public String getComment()
public void setComment(String comment)
public Date getModifiedAt()
public void setModifiedAt(Date modifiedAt)
public String getVersion()
public void setVersion(String version)
public boolean isDeleted()
public void setDeleted(boolean deleted)
Copyright © 2018. All rights reserved.