Class FileInfo
java.lang.Object
com.github.tobato.fastdfs.domain.fdfs.FileInfo
文件的基础信息
- Author:
- yuqih
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCrc32()longlongvoidsetCrc32(int crc32) voidsetCreateTime(long createTime) voidsetFileSize(long fileSize) voidsetSourceIpAddr(String sourceIpAddr) toString()
-
Constructor Details
-
FileInfo
public FileInfo() -
FileInfo
- Parameters:
sourceIpAddr-fileSize-createTime-crc32-
-
-
Method Details
-
getSourceIpAddr
- Returns:
- the sourceIpAddr
-
setSourceIpAddr
- Parameters:
sourceIpAddr- the sourceIpAddr to set
-
getFileSize
public long getFileSize()- Returns:
- the size
-
setFileSize
public void setFileSize(long fileSize) - Parameters:
fileSize- the size to set
-
getCreateTime
public long getCreateTime()- Returns:
- the createTime
-
setCreateTime
public void setCreateTime(long createTime) - Parameters:
createTime- the createTime to set
-
getCrc32
public int getCrc32()- Returns:
- the crc32
-
setCrc32
public void setCrc32(int crc32) - Parameters:
crc32- the crc32 to set
-
toString
-