Package one.pkg.tiny.utils.compress
Interface ICompress
- All Known Implementing Classes:
BaseCompress
,BrotliCompress
,ZstdCompress
public interface ICompress
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault void
compress
(InputStream is, OutputStream os) static void
copyStream
(InputStream is, OutputStream os) default void
decompress
(InputStream is, OutputStream os)
-
Field Details
-
BUFFER_SIZE
static final int BUFFER_SIZE- See Also:
-
-
Method Details
-
copyStream
- Throws:
IOException
-
decompress
- Throws:
IOException
-
compress
- Throws:
IOException
-
createDecompressStream
- Throws:
IOException
-
createCompressStream
- Throws:
IOException
-
getFileExtension
String getFileExtension()
-