下载此文档

浅析小米手机饥饿营销策略.docx


文档分类:经济/贸易/财会 | 页数:约6页 举报非法文档有奖
1/6
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/6 下载此文档
文档列表 文档介绍
package action;
import ;
import ;
import ;
import ;
public class FsnReaderAction {

public final static int intstep=2; //Uint16字节长度
public final static int stringstep=4; //Uint32字节长度
public final static int fsnHeadLengh=32;//fsn文件头字节长度
public final static int fsnPerBodyNoImg=100; //fsn文件体每条记录,不包括图像信息的字节长度
public final static int fsnPerBodyImg=1644; //fsn文件体每条记录,包括图像信息的字节长度
public int filePos=0; //fsn文件字节流当前指针位置
public FsnModel fm; //本实例解析的FsnMedel对象
public String fsnFilePath ;//FSN文件的存储完整路径,包括文件名

public FsnReaderAction(String filePath){
=filePath;
}

public FsnModel readFsnFile() throws Exception {
// FsnModel ret=null;
try{
=new FsnModel();
//hzyimport 把文件转成字节流数组
byte[] fsnbytes =();
();
("File Lengh: "+);
// 读取头文件
setHead(fsnbytes);
long counter = (); // 冠字号信息条数
// ("()[2]="+()[2]);
int size = ()[2] != 0x2D ? fsnPerBodyImg : fsnPerBodyNoImg;
// ("()[2] ="+()[2] );
// ("counter ="+counter);
// ("size="+size);
//

浅析小米手机饥饿营销策略 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数6
  • 收藏数0 收藏
  • 顶次数0
  • 上传人miaoshen1985
  • 文件大小57 KB
  • 时间2018-07-10