Package com.e1c.g5.v8.fastzip
Class StaticEntry
- java.lang.Object
-
- com.e1c.g5.v8.fastzip.StaticEntry
-
- All Implemented Interfaces:
IFzipEntry
public class StaticEntry extends Object implements IFzipEntry
Testing FastZIP entry.
-
-
Constructor Summary
Constructors Constructor Description StaticEntry(byte[] bytes, int checkedSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidread(ReadableByteChannel channel)Read and restore the entry from a byte channel.voidwrite(WritableByteChannel channel)Write the entry to a byte channel.
-
-
-
Method Detail
-
read
public void read(ReadableByteChannel channel) throws IOException
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
public void write(WritableByteChannel channel) throws IOException
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
-
-