onbon.bx06.file
类 ProgramDataBxFile

java.lang.Object
  继承者 onbon.bx06.file.ProgramDataBxFile
所有已实现的接口:
BxFile

public class ProgramDataBxFile
extends Object
implements BxFile


嵌套类摘要
 
从接口 onbon.bx06.file.BxFile 继承的嵌套类/接口
BxFile.Binary
 
构造方法摘要
ProgramDataBxFile(String dataName, Bx6GScreenProfile screenProfile)
           
ProgramDataBxFile(String dataName, Bx6GScreenProfile screenProfile, int initialOffset)
           
 
方法摘要
 void add(byte[] part)
           
 BxFile.Binary generate()
          产生文件的位元组资讯。
 int getCurrentOffset()
           
 String getFileName()
          取得文件名称。
 onbon.bx06.message.common.FileType getFileType()
          取得文件类型。
 byte[] getFull()
           
 Bx6GScreenProfile getScreenProfile()
           
 void reset(int initialOffset)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ProgramDataBxFile

public ProgramDataBxFile(String dataName,
                         Bx6GScreenProfile screenProfile)

ProgramDataBxFile

public ProgramDataBxFile(String dataName,
                         Bx6GScreenProfile screenProfile,
                         int initialOffset)
方法详细信息

reset

public void reset(int initialOffset)

getScreenProfile

public Bx6GScreenProfile getScreenProfile()

getFileName

public String getFileName()
从接口 BxFile 复制的描述
取得文件名称。

指定者:
接口 BxFile 中的 getFileName
返回:
文件名称。

getFileType

public onbon.bx06.message.common.FileType getFileType()
从接口 BxFile 复制的描述
取得文件类型。

指定者:
接口 BxFile 中的 getFileType
返回:
文件类型。

generate

public BxFile.Binary generate()
                       throws Bx6GException
从接口 BxFile 复制的描述
产生文件的位元组资讯。

指定者:
接口 BxFile 中的 generate
返回:
位元组资讯。
抛出:
Bx6GException - 产生位元组资讯时发生错误。

getCurrentOffset

public int getCurrentOffset()

getFull

public byte[] getFull()

add

public void add(byte[] part)


Copyright © 2018 onbon. All rights reserved.