public class ArchiveUtil
extends java.lang.Object
| Constructor and Description |
|---|
ArchiveUtil() |
| Modifier and Type | Method and Description |
|---|---|
long |
copySingleTarEntry(java.io.InputStream tarContent,
java.lang.String filename,
java.io.OutputStream target)
Closes the tarContent InputStream and the target OutputStream when done.
|
byte[] |
extractSingleTarEntry(java.io.InputStream tarContent,
java.lang.String filename)
Deprecated.
use #copySingleTarEntry(java.io.InputStream, java.lang.String, java.io.OutputStream)
|
@Deprecated
public byte[] extractSingleTarEntry(java.io.InputStream tarContent,
java.lang.String filename)
public long copySingleTarEntry(java.io.InputStream tarContent,
java.lang.String filename,
java.io.OutputStream target)