@FunctionalInterface public interface EntryWriter
| Modifier and Type | Method and Description | 
|---|---|
default int | 
size()
Return the size of the content that will be written, or  
-1 if the size is
 not known. | 
void | 
write(OutputStream outputStream)
Write entry data to the specified output stream. 
 | 
void write(OutputStream outputStream) throws IOException
outputStream - the destination for the dataIOException - in case of I/O errorsdefault int size()
-1 if the size is
 not known.