Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / util / zip / ZipEntry.h
blob7e1cc8f518fa14351287003f82a0a5b049987e07
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_zip_ZipEntry__
5 #define __java_util_zip_ZipEntry__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
13 class java::util::zip::ZipEntry : public ::java::lang::Object
16 public:
17 ZipEntry(::java::lang::String *);
18 ZipEntry(::java::util::zip::ZipEntry *);
19 public: // actually package-private
20 ZipEntry(::java::util::zip::ZipEntry *, ::java::lang::String *);
21 virtual void setDOSTime(jint);
22 virtual jint getDOSTime();
23 public:
24 virtual ::java::lang::Object * clone();
25 virtual ::java::lang::String * getName();
26 virtual void setTime(jlong);
27 virtual jlong getTime();
28 private:
29 static ::java::util::Calendar * getCalendar();
30 public:
31 virtual void setSize(jlong);
32 virtual jlong getSize();
33 virtual void setCompressedSize(jlong);
34 virtual jlong getCompressedSize();
35 virtual void setCrc(jlong);
36 virtual jlong getCrc();
37 virtual void setMethod(jint);
38 virtual jint getMethod();
39 virtual void setExtra(JArray< jbyte > *);
40 private:
41 void parseExtra();
42 public:
43 virtual JArray< jbyte > * getExtra();
44 virtual void setComment(::java::lang::String *);
45 virtual ::java::lang::String * getComment();
46 virtual jboolean isDirectory();
47 virtual ::java::lang::String * toString();
48 virtual jint hashCode();
49 private:
50 static const jint KNOWN_SIZE = 1;
51 static const jint KNOWN_CSIZE = 2;
52 static const jint KNOWN_CRC = 4;
53 static const jint KNOWN_TIME = 8;
54 static const jint KNOWN_EXTRA = 16;
55 static ::java::util::Calendar * cal;
56 ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
57 jint size;
58 jlong compressedSize;
59 jint crc;
60 jint dostime;
61 jshort known;
62 jshort method;
63 JArray< jbyte > * extra;
64 ::java::lang::String * comment;
65 public: // actually package-private
66 jint flags;
67 jint offset;
68 public:
69 static const jint STORED = 0;
70 static const jint DEFLATED = 8;
71 static ::java::lang::Class class$;
74 #endif // __java_util_zip_ZipEntry__