/** * Create a new {@code JarFile} using the contents of the specified file. * * @param file * the JAR file as {@link File}. * @param verify * if this JAR file is signed whether it must be verified. * @throws IOException * If the file cannot be read. */ public JarFile(File file, boolean verify) throws IOException { super(file); if (verify) { verifier = new JarVerifier(file.getPath()); } readMetaEntries(); }
/** * Create a new {@code JarFile} from the contents of the file specified by * {@code filename}. * * @param filename * the file name referring to the JAR file. * @param verify * if this JAR filed is signed whether it must be verified. * @throws IOException * If file cannot be opened or read. */ public JarFile(String filename, boolean verify) throws IOException { super(filename); if (verify) { verifier = new JarVerifier(filename); } readMetaEntries(); }
/** * Create a new {@code JarFile} using the contents of file. * * @param file * the JAR file as {@link File}. * @param verify * if this JAR filed is signed whether it must be verified. * @param mode * the mode to use, either {@link ZipFile#OPEN_READ OPEN_READ} or * {@link ZipFile#OPEN_DELETE OPEN_DELETE}. * @throws IOException * If the file cannot be read. */ public JarFile(File file, boolean verify, int mode) throws IOException { super(file, mode); if (verify) { verifier = new JarVerifier(file.getPath()); } readMetaEntries(); }
/** * Create a new {@code JarFile} using the contents of the specified file. * * @param file the JAR file as {@link File}. * @param verify if this JAR file is signed whether it must be verified. * @throws IOException If the file cannot be read. */ public JarFile(File file, boolean verify) throws IOException { super(file); if (verify) { } readMetaEntries(); }
/** * Create a new {@code JarFile} from the contents of the file specified by * {@code filename}. * * @param filename the file name referring to the JAR file. * @param verify if this JAR filed is signed whether it must be verified. * @throws IOException If file cannot be opened or read. */ public JarFile(String filename, boolean verify) throws IOException { super(filename); if (verify) { } readMetaEntries(); }
/** * Create a new {@code JarFile} using the contents of file. * * @param file the JAR file as {@link File}. * @param verify if this JAR filed is signed whether it must be verified. * @param mode the mode to use, either {@link ZipFile#OPEN_READ OPEN_READ} or * {@link ZipFile#OPEN_DELETE OPEN_DELETE}. * @throws IOException If the file cannot be read. */ public JarFile(File file, boolean verify, int mode) throws IOException { super(file, mode); if (verify) { } readMetaEntries(); }
/** * Create a new {@code JarFile} using the contents of the specified file. * * @param file * the JAR file as {@link File}. * @param verify * if this JAR file is signed whether it must be verified. * @throws IOException * If the file cannot be read. */ public JarFile(File file, boolean verify) throws IOException { super(file); if (verify) { verifier = new JarVerifier(file.getPath()); } readMetaEntries(); }
/** * Create a new {@code JarFile} using the contents of the specified file. * * @param file * the JAR file as {@link File}. * @param verify * if this JAR file is signed whether it must be verified. * @throws IOException * If the file cannot be read. */ public JarFile(File file, boolean verify) throws IOException { super(file); if (verify) { verifier = new JarVerifier(file.getPath()); } readMetaEntries(); }
/** * Create a new {@code JarFile} using the contents of the specified file. * * @param file * the JAR file as {@link File}. * @param verify * if this JAR file is signed whether it must be verified. * @throws IOException * If the file cannot be read. */ public JarFile(File file, boolean verify) throws IOException { super(file); if (verify) { verifier = new JarVerifier(file.getPath()); } readMetaEntries(); }
/** * Create a new {@code JarFile} using the contents of the specified file. * * @param file * the JAR file as {@link File}. * @param verify * if this JAR file is signed whether it must be verified. * @throws IOException * If the file cannot be read. */ public JarFile(File file, boolean verify) throws IOException { super(file); if (verify) { verifier = new JarVerifier(file.getPath()); } readMetaEntries(); }
/** * Create a new {@code JarFile} from the contents of the file specified by * {@code filename}. * * @param filename * the file name referring to the JAR file. * @param verify * if this JAR filed is signed whether it must be verified. * @throws IOException * If file cannot be opened or read. */ public JarFile(String filename, boolean verify) throws IOException { super(filename); if (verify) { verifier = new JarVerifier(filename); } readMetaEntries(); }
/** * Create a new {@code JarFile} from the contents of the file specified by * {@code filename}. * * @param filename * the file name referring to the JAR file. * @param verify * if this JAR filed is signed whether it must be verified. * @throws IOException * If file cannot be opened or read. */ public JarFile(String filename, boolean verify) throws IOException { super(filename); if (verify) { verifier = new JarVerifier(filename); } readMetaEntries(); }
/** * Create a new {@code JarFile} from the contents of the file specified by * {@code filename}. * * @param filename * the file name referring to the JAR file. * @param verify * if this JAR filed is signed whether it must be verified. * @throws IOException * If file cannot be opened or read. */ public JarFile(String filename, boolean verify) throws IOException { super(filename); if (verify) { verifier = new JarVerifier(filename); } readMetaEntries(); }
/** * Create a new {@code JarFile} from the contents of the file specified by * {@code filename}. * * @param filename * the file name referring to the JAR file. * @param verify * if this JAR filed is signed whether it must be verified. * @throws IOException * If file cannot be opened or read. */ public JarFile(String filename, boolean verify) throws IOException { super(filename); if (verify) { verifier = new JarVerifier(filename); } readMetaEntries(); }
/** * Create a new {@code JarFile} using the contents of the specified file. * * @param file * the JAR file as {@link File}. * @param verify * if this JAR file is signed whether it must be verified. * @throws IOException * If the file cannot be read. */ public JarFile(File file, boolean verify) throws IOException { super(file); if (verify) { verifier = new JarVerifier(file.getPath()); } readMetaEntries(); }
/** * Create a new {@code JarFile} using the contents of file. * * @param file * the JAR file as {@link File}. * @param verify * if this JAR filed is signed whether it must be verified. * @param mode * the mode to use, either {@link ZipFile#OPEN_READ OPEN_READ} or * {@link ZipFile#OPEN_DELETE OPEN_DELETE}. * @throws IOException * If the file cannot be read. */ public JarFile(File file, boolean verify, int mode) throws IOException { super(file, mode); if (verify) { verifier = new JarVerifier(file.getPath()); } readMetaEntries(); }
/** * Create a new {@code JarFile} using the contents of the specified file. * * @param file * the JAR file as {@link File}. * @param verify * if this JAR file is signed whether it must be verified. * @throws IOException * If the file cannot be read. */ public JarFile(File file, boolean verify) throws IOException { super(file); if (verify) { verifier = new JarVerifier(file.getPath()); } readMetaEntries(); }
/** * Create a new {@code JarFile} from the contents of the file specified by * {@code filename}. * * @param filename * the file name referring to the JAR file. * @param verify * if this JAR filed is signed whether it must be verified. * @throws IOException * If file cannot be opened or read. */ public JarFile(String filename, boolean verify) throws IOException { super(filename); if (verify) { verifier = new JarVerifier(filename); } readMetaEntries(); }
/** * Create a new {@code JarFile} from the contents of the file specified by * {@code filename}. * * @param filename * the file name referring to the JAR file. * @param verify * if this JAR filed is signed whether it must be verified. * @throws IOException * If file cannot be opened or read. */ public JarFile(String filename, boolean verify) throws IOException { super(filename); if (verify) { verifier = new JarVerifier(filename); } readMetaEntries(); }
/** * Create a new {@code JarFile} using the contents of file. * * @param file * the JAR file as {@link File}. * @param verify * if this JAR filed is signed whether it must be verified. * @param mode * the mode to use, either {@link ZipFile#OPEN_READ OPEN_READ} or * {@link ZipFile#OPEN_DELETE OPEN_DELETE}. * @throws IOException * If the file cannot be read. */ public JarFile(File file, boolean verify, int mode) throws IOException { super(file, mode); if (verify) { verifier = new JarVerifier(file.getPath()); } readMetaEntries(); }