onbon.bx06.file
Class ProgramDataBxFile

java.lang.Object
  extended by onbon.bx06.file.ProgramDataBxFile
All Implemented Interfaces:
BxFile

public class ProgramDataBxFile
extends Object
implements BxFile


Nested Class Summary
 
Nested classes/interfaces inherited from interface onbon.bx06.file.BxFile
BxFile.Binary
 
Constructor Summary
ProgramDataBxFile(String dataName, Bx6GScreenProfile screenProfile)
           
ProgramDataBxFile(String dataName, Bx6GScreenProfile screenProfile, int initialOffset)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgramDataBxFile

public ProgramDataBxFile(String dataName,
                         Bx6GScreenProfile screenProfile)

ProgramDataBxFile

public ProgramDataBxFile(String dataName,
                         Bx6GScreenProfile screenProfile,
                         int initialOffset)
Method Detail

reset

public void reset(int initialOffset)

getScreenProfile

public Bx6GScreenProfile getScreenProfile()

getFileName

public String getFileName()
Description copied from interface: BxFile
取得文件名称。

Specified by:
getFileName in interface BxFile
Returns:
文件名称。

getFileType

public onbon.bx06.message.common.FileType getFileType()
Description copied from interface: BxFile
取得文件类型。

Specified by:
getFileType in interface BxFile
Returns:
文件类型。

generate

public BxFile.Binary generate()
                       throws Bx6GException
Description copied from interface: BxFile
产生文件的位元组资讯。

Specified by:
generate in interface BxFile
Returns:
位元组资讯。
Throws:
Bx6GException - 产生位元组资讯时发生错误。

getCurrentOffset

public int getCurrentOffset()

getFull

public byte[] getFull()

add

public void add(byte[] part)


Copyright © 2020 onbon. All rights reserved.