public class TarfileUtil extends Object
| Constructor and Description |
|---|
TarfileUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
createTarFileStream(OutputStream output,
String pathStr) |
static List<String> |
extractTarFile(InputStream inputStream) |
static List<String> |
extractTarFileFromPath(String path) |
static void |
walk(org.apache.hadoop.fs.FileSystem fs,
List<org.apache.hadoop.fs.FileStatus> files,
org.apache.hadoop.fs.Path p) |
public static void walk(org.apache.hadoop.fs.FileSystem fs,
List<org.apache.hadoop.fs.FileStatus> files,
org.apache.hadoop.fs.Path p)
throws IOException
IOExceptionpublic static List<String> extractTarFile(InputStream inputStream) throws IOException
IOExceptionpublic static List<String> extractTarFileFromPath(String path) throws IOException
IOExceptionpublic static int createTarFileStream(OutputStream output, String pathStr) throws IOException
IOExceptionCopyright © 2021. All rights reserved.