summaryrefslogtreecommitdiff
path: root/libjava/java/util/zip/Deflater.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/java/util/zip/Deflater.h
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/java/util/zip/Deflater.h')
-rw-r--r--libjava/java/util/zip/Deflater.h76
1 files changed, 76 insertions, 0 deletions
diff --git a/libjava/java/util/zip/Deflater.h b/libjava/java/util/zip/Deflater.h
new file mode 100644
index 000000000..61d21899f
--- /dev/null
+++ b/libjava/java/util/zip/Deflater.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_zip_Deflater__
+#define __java_util_zip_Deflater__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
+}
+
+class java::util::zip::Deflater : public ::java::lang::Object
+{
+
+public:
+ Deflater();
+ Deflater(jint);
+ Deflater(jint, jboolean);
+private:
+ void init(jint, jboolean);
+ void update();
+public:
+ virtual void reset();
+ virtual void end();
+ virtual jint getAdler();
+ virtual jint getTotalIn();
+ virtual jlong getBytesRead();
+ virtual jint getTotalOut();
+ virtual jlong getBytesWritten();
+public: // actually protected
+ virtual void finalize();
+public:
+ virtual void finish();
+ virtual jboolean finished();
+ virtual jboolean needsInput();
+ virtual void setInput(JArray< jbyte > *);
+ virtual void setInput(JArray< jbyte > *, jint, jint);
+ virtual void setLevel(jint);
+ virtual void setStrategy(jint);
+ virtual jint deflate(JArray< jbyte > *);
+ virtual jint deflate(JArray< jbyte > *, jint, jint);
+ virtual void setDictionary(JArray< jbyte > *);
+ virtual void setDictionary(JArray< jbyte > *, jint, jint);
+public: // actually package-private
+ virtual void flush();
+public:
+ static const jint BEST_COMPRESSION = 9;
+ static const jint BEST_SPEED = 1;
+ static const jint DEFAULT_COMPRESSION = -1;
+ static const jint NO_COMPRESSION = 0;
+ static const jint DEFAULT_STRATEGY = 0;
+ static const jint FILTERED = 1;
+ static const jint HUFFMAN_ONLY = 2;
+ static const jint DEFLATED = 8;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) level;
+ jint strategy;
+ ::gnu::gcj::RawData * zstream;
+ jboolean is_finished;
+ jint flush_flag;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_zip_Deflater__