public static class FileInfoDTO.FileInfoDTOBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
FileInfoDTO |
build()
Build the FileInfoDTO.
|
FileInfoDTO.FileInfoDTOBuilder |
isDir(boolean isDir)
Set the isDir of the FileInfo.
|
FileInfoDTO.FileInfoDTOBuilder |
lastModified(long lastModified)
Set the lastModified of the FileInfo.
|
FileInfoDTO.FileInfoDTOBuilder |
name(java.lang.String name)
Set the name of the FileInfo.
|
FileInfoDTO.FileInfoDTOBuilder |
path(java.lang.String path)
Set the path of the FileInfo.
|
FileInfoDTO.FileInfoDTOBuilder |
size(long size)
Set the size of the FileInfo.
|
public FileInfoDTO.FileInfoDTOBuilder name(java.lang.String name)
name
- The name of the file.public FileInfoDTO.FileInfoDTOBuilder isDir(boolean isDir)
isDir
- The isDir of the file.public FileInfoDTO.FileInfoDTOBuilder size(long size)
size
- The size of the file.public FileInfoDTO.FileInfoDTOBuilder lastModified(long lastModified)
lastModified
- The lastModified of the file.public FileInfoDTO.FileInfoDTOBuilder path(java.lang.String path)
path
- The path of the file.public FileInfoDTO build()