2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_zip_ZipEntry__
5 #define __java_util_zip_ZipEntry__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
13 class java::util::zip::ZipEntry
: public ::java::lang::Object
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();
24 virtual ::java::lang::Object
* clone();
25 virtual ::java::lang::String
* getName();
26 virtual void setTime(jlong
);
27 virtual jlong
getTime();
29 static ::java::util::Calendar
* getCalendar();
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
> *);
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();
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
;
63 JArray
< jbyte
> * extra
;
64 ::java::lang::String
* comment
;
65 public: // actually package-private
69 static const jint STORED
= 0;
70 static const jint DEFLATED
= 8;
71 static ::java::lang::Class
class$
;
74 #endif // __java_util_zip_ZipEntry__