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 corresponding
entry registry
.
An entry has all necessary information to be written to an archive or restored from an archive.-
Method Summary
Modifier and TypeMethodDescriptionvoid
read
(ReadableByteChannel channel) Read and restore the entry from a byte channel.void
write
(WritableByteChannel channel) Write the entry to a byte channel.
-
Method Details
-
read
Read and restore the entry from a byte channel.- Parameters:
channel
- the input channel, nevernull
- Throws:
IOException
- if an IO error occurs
-
write
Write the entry to a byte channel.- Parameters:
channel
- the output channel, nevernull
- Throws:
IOException
- if an IO error occurs
-