summaryrefslogtreecommitdiff
path: root/libjava/java/util/zip/ZipInputStream.h
blob: 4a84395060efc5e69afc097b6605fcd07fa63572 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_zip_ZipInputStream__
#define __java_util_zip_ZipInputStream__

#pragma interface

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


class java::util::zip::ZipInputStream : public ::java::util::zip::InflaterInputStream
{

public:
  ZipInputStream(::java::io::InputStream *);
private:
  void fillBuf();
  jint readBuf(JArray< jbyte > *, jint, jint);
  void readFully(JArray< jbyte > *);
  jint readLeByte();
  jint readLeShort();
  jint readLeInt();
public:
  virtual ::java::util::zip::ZipEntry * getNextEntry();
private:
  void readDataDescr();
public:
  virtual void closeEntry();
  virtual jint available();
  virtual jint read();
  virtual jint read(JArray< jbyte > *, jint, jint);
  virtual void close();
public: // actually protected
  virtual ::java::util::zip::ZipEntry * createZipEntry(::java::lang::String *);
private:
  ::java::util::zip::CRC32 * __attribute__((aligned(__alignof__( ::java::util::zip::InflaterInputStream)))) crc;
  ::java::util::zip::ZipEntry * entry;
  jint csize;
  jint size;
  jint method;
  jint flags;
  jint avail;
  jboolean entryAtEOF;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_zip_ZipInputStream__