类 FileChunkDataStorage
- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.data.FileChunkDataStorage
-
public class FileChunkDataStorage extends Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
FileChunkDataStorage.FileChunk
-
构造器概要
构造器 构造器 说明 FileChunkDataStorage(RandomAccessFile access)
-
方法概要
修饰符和类型 方法 说明 FileChunkDataStorage.FileChunk
createChunk()
boolean
hasMoreChunk()
static void
insertEmpty(long position, int size, RandomAccessFile access)
FileChunkDataStorage.FileChunk
nextChunk()
void
toTop()
-
-
-
构造器详细资料
-
FileChunkDataStorage
public FileChunkDataStorage(@NotNull RandomAccessFile access)
-
-
方法详细资料
-
toTop
public void toTop() throws IOException
- 抛出:
IOException
-
hasMoreChunk
public boolean hasMoreChunk() throws IOException
- 抛出:
IOException
-
createChunk
public FileChunkDataStorage.FileChunk createChunk() throws IOException
- 抛出:
IOException
-
nextChunk
public FileChunkDataStorage.FileChunk nextChunk() throws IOException
- 抛出:
IOException
-
insertEmpty
public static void insertEmpty(long position, int size, @NotNull RandomAccessFile access) throws IOException
- 抛出:
IOException
-
-