/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* See LICENSE.txt included in this distribution for the specific
* language governing permissions and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at LICENSE.txt.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
"ZIP"
};
private static final int LOCHDRSIZ = 30;
private int CH(byte[] b, int n) {
return b[n] & 0xff;
}
private int SH(byte[] b, int n) {
}
private int LOCNAM(byte[] b) {
return SH(b, 26);
}
private int LOCEXT(byte[] b) {
return SH(b, 28);
}
private static final int XFHSIZ = 4;
throws IOException {
assert in.markSupported();
return null;
}
return null;
}
}
byte[] buf = new byte[1024];
if (xfhid == 0xCAFE) {
return JarAnalyzerFactory.DEFAULT_INSTANCE;
}
}
return ZipAnalyzerFactory.DEFAULT_INSTANCE;
}
};
new ZipAnalyzerFactory();
private ZipAnalyzerFactory() {
}
return new ZipAnalyzer(this);
}
}