public class NormalFileDto extends RepoFileDto
| Constructor and Description |
|---|
NormalFileDto() |
| Modifier and Type | Method and Description |
|---|---|
List<FileChunkDto> |
getFileChunkDtos() |
long |
getLength()
Gets the file size in bytes.
|
String |
getSha1()
Gets the SHA-1 of the file.
|
List<FileChunkDto> |
getTempFileChunkDtos() |
void |
setFileChunkDtos(List<FileChunkDto> fileChunkDtos) |
void |
setLength(long size) |
void |
setSha1(String sha) |
void |
setTempFileChunkDtos(List<FileChunkDto> tempFileChunkDtos) |
String |
toString() |
getId, getLastModified, getLocalRevision, getName, getParentId, isNeededAsParent, setId, setLastModified, setLocalRevision, setName, setNeededAsParent, setParentIdpublic NormalFileDto()
public long getLength()
It reflects the File.length property.
0, if this is a directory.public void setLength(long size)
public List<FileChunkDto> getFileChunkDtos()
public void setFileChunkDtos(List<FileChunkDto> fileChunkDtos)
public List<FileChunkDto> getTempFileChunkDtos()
public void setTempFileChunkDtos(List<FileChunkDto> tempFileChunkDtos)
public String toString()
toString in class RepoFileDtoCopyright © 2013–2017. All rights reserved.