public class BinaryExtractorFactory extends Object
BinaryExtractor
s.Constructor and Description |
---|
BinaryExtractorFactory() |
Modifier and Type | Method and Description |
---|---|
BinaryExtractor |
getBinaryExtractorForArchiveFile(File archiveFile)
Get a
BinaryExtractor that is able to handle the archive format of a given File . |
public final BinaryExtractor getBinaryExtractorForArchiveFile(File archiveFile)
BinaryExtractor
that is able to handle the archive format of a given File
.
The determination of the archive format is based on the extension of the given File
,
thus fairly weak. Use with caution.
archiveFile
- The archive fileBinaryExtractor
UnsupportedOperationException
- When no BinaryExtractor
is available for the given archive formatCopyright © 2019. All rights reserved.