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