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()
Get modifiedDate
|
String |
getName()
Get name
|
String |
getPath()
Get path
|
Long |
getSize()
Get size
|
int |
hashCode() |
StorageFile |
isFolder(Boolean isFolder)
Set isFolder and return this.
|
Boolean |
isIsFolder()
Get isFolder
|
StorageFile |
modifiedDate(Date modifiedDate)
Set modifiedDate and return this.
|
StorageFile |
name(String name)
Set name and return this.
|
StorageFile |
path(String path)
Set path and return this.
|
void |
setIsFolder(Boolean isFolder)
Set isFolder.
|
void |
setModifiedDate(Date modifiedDate)
Set modifiedDate.
|
void |
setName(String name)
Set name.
|
void |
setPath(String path)
Set path.
|
void |
setSize(Long size)
Set size.
|
StorageFile |
size(Long size)
Set size and return this.
|
String |
toString() |
public StorageFile name(String name)
name
- public String getName()
public void setName(String name)
name
- public StorageFile isFolder(Boolean isFolder)
isFolder
- public Boolean isIsFolder()
public void setIsFolder(Boolean isFolder)
isFolder
- public StorageFile modifiedDate(Date modifiedDate)
modifiedDate
- public Date getModifiedDate()
public void setModifiedDate(Date modifiedDate)
modifiedDate
- public StorageFile size(Long size)
size
- public Long getSize()
public void setSize(Long size)
size
- public StorageFile path(String path)
path
- public String getPath()
public void setPath(String path)
path
- Copyright © 2020. All rights reserved.