diff options
Diffstat (limited to 'libjava/java/util/jar')
-rw-r--r-- | libjava/java/util/jar/JarEntry.java | 39 | ||||
-rw-r--r-- | libjava/java/util/jar/JarFile.java | 56 | ||||
-rw-r--r-- | libjava/java/util/jar/JarInputStream.java | 32 |
3 files changed, 0 insertions, 127 deletions
diff --git a/libjava/java/util/jar/JarEntry.java b/libjava/java/util/jar/JarEntry.java deleted file mode 100644 index eaebd1ad7d5..00000000000 --- a/libjava/java/util/jar/JarEntry.java +++ /dev/null @@ -1,39 +0,0 @@ -/* Copyright (C) 1999 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -package java.util.jar; - -import java.util.zip.*; - -/** - * Does not implement the security and manifest methods. - * - * @author Kresten Krab Thorup <krab@gnu.org> - * @date August 10, 1999. - */ - -public class JarEntry extends ZipEntry -{ - ZipEntry zip; - - public JarEntry (ZipEntry ent) - { - super (ent); - } - - public JarEntry (JarEntry ent) - { - super (ent); - } - - public JarEntry (String name) - { - super (name); - } - -} diff --git a/libjava/java/util/jar/JarFile.java b/libjava/java/util/jar/JarFile.java deleted file mode 100644 index b36338c218b..00000000000 --- a/libjava/java/util/jar/JarFile.java +++ /dev/null @@ -1,56 +0,0 @@ -/* Copyright (C) 1999 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -package java.util.jar; - -import java.util.zip.*; -import java.io.File; - -/** - * Does not implement any of the security. Just a place holder, so - * that I can implement URLClassLoader. - * - * @author Kresten Krab Thorup <krab@gnu.org> - * @date August 10, 1999. - */ - -public class JarFile extends ZipFile -{ - private boolean verify; - - public JarFile (String file) throws java.io.IOException - { - super (file); - } - - public JarFile (File file) throws java.io.IOException - { - super (file); - } - - public JarFile (String file, boolean verify) throws java.io.IOException - { - super (file); - this.verify = verify; - } - - public JarFile (File file, boolean verify) throws java.io.IOException - { - super (file); - this.verify = verify; - } - - public JarEntry getJarEntry (String name) - { - ZipEntry ent = getEntry(name); - if (ent == null) - return null; - else - return new JarEntry(ent); - } -} diff --git a/libjava/java/util/jar/JarInputStream.java b/libjava/java/util/jar/JarInputStream.java deleted file mode 100644 index 33daf61c5fb..00000000000 --- a/libjava/java/util/jar/JarInputStream.java +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright (C) 1999 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -package java.util.jar; - -import java.util.zip.*; - -/** - * Does not implement any of the security. Just a place holder, so - * that I can implement URLClassLoader. - * - * @author Kresten Krab Thorup <krab@gnu.org> - * @date August 10, 1999. - */ - -public class JarInputStream extends ZipInputStream -{ - public JarEntry getNextJarEntry () throws java.io.IOException - { - return new JarEntry (getNextEntry ()); - } - - public JarInputStream (java.io.InputStream is) - { - super(is); - } -} |