1 /* 2 * JarDriver.java 3 * 4 * Created on 24. Dezember 2005, 00:01 5 */ 6 /* 7 * Copyright 2006 Schlichtherle IT Services 8 * 9 * Licensed under the Apache License, Version 2.0 (the "License"); 10 * you may not use this file except in compliance with the License. 11 * You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, software 16 * distributed under the License is distributed on an "AS IS" BASIS, 17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 * See the License for the specific language governing permissions and 19 * limitations under the License. 20 */ 21 22 package de.schlichtherle.io.archive.zip; 23 24 import java.io.UnsupportedEncodingException; 25 26 /** 27 * A {@link Zip32Driver} which builds JAR archives. 28 * JAR archives use <code>UTF-8</code> as the character set encoding for 29 * entry names and comments. 30 * Other than this, they are treated like regular ZIP32 files. 31 * In particular, this class does <em>not</em> check the contents of an 32 * archive file for the existance of a manifest or any other typical 33 * artifacts of JAR files. 34 * <p> 35 * Instances of this class are immutable. 36 * 37 * @see CheckedJarDriver 38 * 39 * @author Christian Schlichtherle 40 * @version @version@ 41 * @since TrueZIP 6.0 42 */ 43 public class JarDriver extends Zip32Driver { 44 45 public JarDriver() { 46 super("UTF-8", false, false, null, null); 47 } 48 } 49