Package com.e1c.g5.v8.fastzip
Class StaticEntry
java.lang.Object
com.e1c.g5.v8.fastzip.StaticEntry
- All Implemented Interfaces:
IFzipEntry
Testing FastZIP entry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidread(ReadableByteChannel channel) Read and restore the entry from a byte channel.voidwrite(WritableByteChannel channel) Write the entry to a byte channel.
-
Constructor Details
-
StaticEntry
public StaticEntry(byte[] bytes, int checkedSize)
-
-
Method Details
-
read
Description copied from interface:IFzipEntryRead and restore the entry from a byte channel.- Specified by:
readin interfaceIFzipEntry- Parameters:
channel- the input channel, nevernull- Throws:
IOException- if an IO error occurs
-
write
Description copied from interface:IFzipEntryWrite the entry to a byte channel.- Specified by:
writein interfaceIFzipEntry- Parameters:
channel- the output channel, nevernull- Throws:
IOException- if an IO error occurs
-