net.sf.jqql.beans
Class FileInfo
java.lang.Object
net.sf.jqql.beans.FileInfo
public class FileInfo
- extends Object
wrapper class for file sending apply packet. File sending packet is changed from message sending packet.
请求传送文件包的数据封装类,传送文件包是发送消息包的变种格式
* @author luma
Method Summary |
void |
readBean(ByteBuffer buf)
given an input stream, parse SendFileRequest
给定一个输入流,解析SendFileRequest结构 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileName
public String fileName
fileSize
public int fileSize
FileInfo
public FileInfo()
readBean
public void readBean(ByteBuffer buf)
throws Exception
- given an input stream, parse SendFileRequest
给定一个输入流,解析SendFileRequest结构
- Parameters:
buf
-
- Throws:
Exception