summaryrefslogtreecommitdiff
path: root/libjava/java/util/zip/ZipFile.h
blob: 7c0f69ca297ccc809bd81796bbcc8e191f50c0d8 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_zip_ZipFile__
#define __java_util_zip_ZipFile__

#pragma interface

#include <java/lang/Object.h>

class java::util::zip::ZipFile : public ::java::lang::Object
{

  ::java::io::RandomAccessFile * openFile(::java::lang::String *, ::java::io::File *);
public:
  ZipFile(::java::lang::String *);
  ZipFile(::java::io::File *);
  ZipFile(::java::io::File *, jint);
private:
  void checkZipFile();
  void checkClosed();
  void readEntries();
public:
  virtual void close();
public: // actually protected
  virtual void finalize();
public:
  virtual ::java::util::Enumeration * entries();
private:
  ::java::util::LinkedHashMap * getEntries();
public:
  virtual ::java::util::zip::ZipEntry * getEntry(::java::lang::String *);
  virtual ::java::io::InputStream * getInputStream(::java::util::zip::ZipEntry *);
  virtual ::java::lang::String * getName();
  virtual jint size();
  static const jint OPEN_READ = 1;
  static const jint OPEN_DELETE = 4;
public: // actually package-private
  static const jint ENDNRD = 4;
private:
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
  ::java::io::RandomAccessFile * raf;
  ::java::util::LinkedHashMap * entries__;
  jboolean closed;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_zip_ZipFile__