Interface EntryWriter
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
Interface used to write jar entry data.
- Since:
 - 2.3.0
 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault intsize()Return the size of the content that will be written, or-1if the size is not known.voidwrite(OutputStream outputStream) Write entry data to the specified output stream. 
- 
Method Details
- 
write
Write entry data to the specified output stream.- Parameters:
 outputStream- the destination for the data- Throws:
 IOException- in case of I/O errors
 - 
size
default int size()Return the size of the content that will be written, or-1if the size is not known.- Returns:
 - the size of the content
 
 
 -