public class FileDTO extends Object
| Constructor and Description |
|---|
FileDTO() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getExt()
文件后缀
|
String |
getFullPath()
绝对路径
|
Boolean |
getIsDirectory()
是否为文件夹
|
Date |
getModifyTime()
修改时间
|
String |
getName()
文件名称
|
String |
getRelativePath()
相对路径
|
int |
hashCode() |
void |
setExt(String ext)
文件后缀
|
void |
setFullPath(String fullPath)
绝对路径
|
void |
setIsDirectory(Boolean isDirectory)
是否为文件夹
|
void |
setModifyTime(Date modifyTime)
修改时间
|
void |
setName(String name)
文件名称
|
void |
setRelativePath(String relativePath)
相对路径
|
String |
toString() |
public String getName()
public String getFullPath()
public String getRelativePath()
public Boolean getIsDirectory()
public String getExt()
public Date getModifyTime()
public void setName(String name)
public void setFullPath(String fullPath)
public void setRelativePath(String relativePath)
public void setIsDirectory(Boolean isDirectory)
public void setExt(String ext)
public void setModifyTime(Date modifyTime)
protected boolean canEqual(Object other)
Copyright © 2025. All rights reserved.