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 void
read(ReadableByteChannel channel)
Read and restore the entry from a byte channel.void
write(WritableByteChannel channel)
Write the entry to a byte channel.
-
-
-
Method Detail
-
read
public void read(ReadableByteChannel channel) throws IOException
Description copied from interface:IFzipEntry
Read and restore the entry from a byte channel.- Specified by:
read
in 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:IFzipEntry
Write the entry to a byte channel.- Specified by:
write
in interfaceIFzipEntry
- Parameters:
channel
- the output channel, nevernull
- Throws:
IOException
- if an IO error occurs
-
-