|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.data.processing.CompactFile
public class CompactFile
提供对紧凑缓存文件(.cf)读写的操作类。
构造方法摘要 | |
---|---|
CompactFile()
构造CompactFile类的一个新对象。 |
方法摘要 | |
---|---|
boolean |
Close()
关闭已打开的紧凑文件。 |
int |
Creat(java.lang.String cfPath,
int rowNum,
int colNum,
java.lang.String pwd)
创建新的紧凑文件。 |
void |
dispose()
释放 CompactFile 对象占有的资源。 |
byte[] |
getAt(int row,
int col)
从紧凑文件中读取数据。 |
int |
Open(java.lang.String cfPath,
java.lang.String pwd)
打开已有的紧凑文件。 |
int |
SetAt(int row,
int col,
byte[] data)
向紧凑文件中写入数据。 |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public CompactFile()
方法详细信息 |
---|
public void dispose()
public int Creat(java.lang.String cfPath, int rowNum, int colNum, java.lang.String pwd)
cfPath
- 紧凑文件路径名称。rowNum
- 紧凑文件中总的索引行数。colNum
- 紧凑文件中总的索引列数。pwd
- 紧凑文件密码。
public int Open(java.lang.String cfPath, java.lang.String pwd)
cfPath
- 紧凑文件路径名称。pwd
- 紧凑文件密码。
public boolean Close()
public int SetAt(int row, int col, byte[] data)
row
- 紧凑文件中对应的索引行(必须小于总行数)。col
- 紧凑文件中对应的索引列(必须小于总列数)。data
- 写入的数据。
public byte[] getAt(int row, int col)
row
- 紧凑文件中对应的索引行(必须小于总行数)。col
- 紧凑文件中对应的索引列(必须小于总列数)。
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |