summaryrefslogtreecommitdiff
path: root/libjava/java/util/jar/JarInputStream.h
blob: 7e4441d7e3a9b1fadd678c4486e6a22c35dbc99a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_jar_JarInputStream__
#define __java_util_jar_JarInputStream__

#pragma interface

#include <java/util/zip/ZipInputStream.h>
#include <gcj/array.h>


class java::util::jar::JarInputStream : public ::java::util::zip::ZipInputStream
{

public:
  JarInputStream(::java::io::InputStream *);
  JarInputStream(::java::io::InputStream *, jboolean);
private:
  void readManifest(jboolean);
public: // actually protected
  virtual ::java::util::zip::ZipEntry * createZipEntry(::java::lang::String *);
public:
  virtual ::java::util::jar::Manifest * getManifest();
  virtual ::java::util::zip::ZipEntry * getNextEntry();
  virtual ::java::util::jar::JarEntry * getNextJarEntry();
  virtual jint read(JArray< jbyte > *, jint, jint);
private:
  ::java::util::jar::Manifest * __attribute__((aligned(__alignof__( ::java::util::zip::ZipInputStream)))) manifest;
  ::java::util::jar::JarEntry * firstEntry;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_jar_JarInputStream__