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) |
protected String |
toString_getProperties() |
getId, getLastModified, getLocalRevision, getName, getParentId, isNeededAsParent, setId, setLastModified, setLocalRevision, setName, setNeededAsParent, setParentId, toString
public 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)
protected String toString_getProperties()
toString_getProperties
in class RepoFileDto
Copyright © 2013–2019. All rights reserved.