Package com.logicaldoc.util.io
Class TarUtil
java.lang.Object
com.logicaldoc.util.io.TarUtil
This class is for reading tar files
- Version:
- 8.7.1
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
extractEntry
(File tarFile, File dest) Extracts the first file entry contained in the given TAR archivelistEntries
(File tarFile)
-
Constructor Details
-
TarUtil
public TarUtil()
-
-
Method Details
-
listEntries
- Throws:
IOException
-
extractEntry
Extracts the first file entry contained in the given TAR archive- Parameters:
tarFile
- the TAR archive to readdest
- the destination file to extract the first file entry to- Throws:
IOException
- I/O error
-