JML

net.sf.jqql.beans
Class FileInfo

java.lang.Object
  extended by 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


Field Summary
 String fileName
           
 int fileSize
           
 
Constructor Summary
FileInfo()
           
 
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
 

Field Detail

fileName

public String fileName

fileSize

public int fileSize
Constructor Detail

FileInfo

public FileInfo()
Method Detail

readBean

public void readBean(ByteBuffer buf)
              throws Exception
given an input stream, parse SendFileRequest 给定一个输入流,解析SendFileRequest结构

Parameters:
buf -
Throws:
Exception

JML