Package com.e1c.g5.v8.fastzip.entry
Interface IFzipEntry
-
- All Known Implementing Classes:
AbstractNamedFzipEntry
,StaticEntry
public interface IFzipEntry
FastZIP entry. Entries are created, serialized and deserialized with a correspondingentry registry
. An entry has all necessary information to be written to an archive or restored from an archive.
-
-
Method Summary
All Methods Instance Methods Abstract 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
void read(ReadableByteChannel channel) throws IOException
Read and restore the entry from a byte channel.- Parameters:
channel
- the input channel, nevernull
- Throws:
IOException
- if an IO error occurs
-
write
void write(WritableByteChannel channel) throws IOException
Write the entry to a byte channel.- Parameters:
channel
- the output channel, nevernull
- Throws:
IOException
- if an IO error occurs
-
-