public class FileInfo
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
crc32 |
protected java.util.Date |
create_timestamp |
protected long |
file_size |
protected java.lang.String |
source_ip_addr |
| 构造器和说明 |
|---|
FileInfo(long file_size,
int create_timestamp,
int crc32,
java.lang.String source_ip_addr)
Constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getCrc32()
get the file CRC32 signature
|
java.util.Date |
getCreateTimestamp()
get the create timestamp of the file
|
long |
getFileSize()
get the file size
|
java.lang.String |
getSourceIpAddr()
get the source ip address of the file uploaded to
|
void |
setCrc32(int crc32)
set the create timestamp of the file
|
void |
setCreateTimestamp(int create_timestamp)
set the create timestamp of the file
|
void |
setFileSize(long file_size)
set the file size
|
void |
setSourceIpAddr(java.lang.String source_ip_addr)
set the source ip address of the file uploaded to
|
java.lang.String |
toString()
to string
|
protected java.lang.String source_ip_addr
protected long file_size
protected java.util.Date create_timestamp
protected int crc32
public FileInfo(long file_size,
int create_timestamp,
int crc32,
java.lang.String source_ip_addr)
file_size - the file sizecreate_timestamp - create timestamp in secondscrc32 - the crc32 signaturesource_ip_addr - the source storage ip addresspublic java.lang.String getSourceIpAddr()
public void setSourceIpAddr(java.lang.String source_ip_addr)
source_ip_addr - the source ip addresspublic long getFileSize()
public void setFileSize(long file_size)
file_size - the file sizepublic java.util.Date getCreateTimestamp()
public void setCreateTimestamp(int create_timestamp)
create_timestamp - create timestamp in secondspublic long getCrc32()
public void setCrc32(int crc32)
crc32 - the crc32 signaturepublic java.lang.String toString()
toString 在类中 java.lang.Object