|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.csource.fastdfs.FileInfo
public class FileInfo
Server Info
字段摘要 | |
---|---|
protected int |
crc32
|
protected Date |
create_timestamp
|
protected long |
file_size
|
protected String |
source_ip_addr
|
构造方法摘要 | |
---|---|
FileInfo(long file_size,
int create_timestamp,
int crc32,
String source_ip_addr)
Constructor |
方法摘要 | |
---|---|
long |
getCrc32()
get the file CRC32 signature |
Date |
getCreateTimestamp()
get the create timestamp of the file |
long |
getFileSize()
get the file size |
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(String source_ip_addr)
set the source ip address of the file uploaded to |
String |
toString()
to string |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
protected String source_ip_addr
protected long file_size
protected Date create_timestamp
protected int crc32
构造方法详细信息 |
---|
public FileInfo(long file_size, int create_timestamp, int crc32, String source_ip_addr)
file_size
- the file sizecreate_timestamp
- create timestamp in secondscrc32
- the crc32 signaturesource_ip_addr
- the source storage ip address方法详细信息 |
---|
public String getSourceIpAddr()
public void setSourceIpAddr(String source_ip_addr)
source_ip_addr
- the source ip addresspublic long getFileSize()
public void setFileSize(long file_size)
file_size
- the file sizepublic 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 String toString()
Object
中的 toString
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |