public class StorageFile extends Object
Constructor and Description |
---|
StorageFile() |
StorageFile(String name,
Boolean isFolder,
Date modifiedDate,
Long size,
String path)
Initializes a new instance of the StorageFile
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Date |
getModifiedDate()
File or folder last modified DateTime.
|
String |
getName()
File or folder name.
|
String |
getPath()
File or folder path.
|
Long |
getSize()
File or folder size.
|
int |
hashCode() |
StorageFile |
isFolder(Boolean isFolder) |
Boolean |
isIsFolder()
True if it is a folder.
|
StorageFile |
modifiedDate(Date modifiedDate) |
StorageFile |
name(String name) |
StorageFile |
path(String path) |
void |
setIsFolder(Boolean isFolder) |
void |
setModifiedDate(Date modifiedDate) |
void |
setName(String name) |
void |
setPath(String path) |
void |
setSize(Long size) |
StorageFile |
size(Long size) |
String |
toString() |
public StorageFile()
public StorageFile(String name, Boolean isFolder, Date modifiedDate, Long size, String path)
name
- File or folder name.isFolder
- True if it is a folder.modifiedDate
- File or folder last modified DateTime.size
- File or folder size.path
- File or folder path.public StorageFile name(String name)
public String getName()
public void setName(String name)
public StorageFile isFolder(Boolean isFolder)
public Boolean isIsFolder()
public void setIsFolder(Boolean isFolder)
public StorageFile modifiedDate(Date modifiedDate)
public Date getModifiedDate()
public void setModifiedDate(Date modifiedDate)
public StorageFile size(Long size)
public Long getSize()
public void setSize(Long size)
public StorageFile path(String path)
public String getPath()
public void setPath(String path)
Copyright © 2019. All rights reserved.