public static DescriptorDataFactory newInstance(java.io.File jitterpack, char[] password, String headerFilename)
throws IllegalDataFormatException {
if (password == null) {
ArchiveDetector detector = TrueZipUtils.getArchiveDetector(null);
File source = new File(jitterpack, detector);
java.io.File[] topLevelFiles = source.listFiles();
if (topLevelFiles != null) {
int length = topLevelFiles.length;
if (length == 1) {
return new V110_DescriptorDataFactory(headerFilename, null);
} else if (length >= 1) {