Menu

Changelog-1

Wolfgang Keller

Change Log

*** Release V 1-1-0 ***, 28. Dec. 2022

NEW FEATURES
Minor interface additions to ChunkByteChannel.
Made file properties persistent and modified the way the file header is saved.
Moved to new file format 2. This code reads and writes formats 1 and 2 according
to what is found on file opening.
Minor changes to the Moelnir interface, 'createChunk()' and 'writeChunk()' now
return the realised buffer-length.
ChunkReadStream, ChunkWriteStream and ChunkByteChannel are now 'protected' 
(was 'private').

Added MoelnirByteChannel interface implementing SeekableByteChannel,
GatheringByteChannel and ScatteringByteChannel. The channel comprises the
content of a single data chunk and can be created by method
'getChunkByteChannel(long chunkID)'.

CORRECTED BUGS
- now closes all open IO-streams when file closes
- an inconsistency of method 'reorganise()' with open read-streams has been
  resolved.
- 'copyTo(File)' also works after the file is closed (this branch was buggy).
- ReadStream throws exception if enclosing class is not open

Related

Wiki: Home