OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [util/] [zip/] [ZipOutputStream.h] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_util_zip_ZipOutputStream__
5
#define __java_util_zip_ZipOutputStream__
6
 
7
#pragma interface
8
 
9
#include <java/util/zip/DeflaterOutputStream.h>
10
#include <gcj/array.h>
11
 
12
 
13
class java::util::zip::ZipOutputStream : public ::java::util::zip::DeflaterOutputStream
14
{
15
 
16
public:
17
  ZipOutputStream(::java::io::OutputStream *);
18
  virtual void setComment(::java::lang::String *);
19
  virtual void setMethod(jint);
20
  virtual void setLevel(jint);
21
private:
22
  void writeLeShort(jint);
23
  void writeLeInt(jint);
24
  void writeLeInt(jlong);
25
public:
26
  virtual void putNextEntry(::java::util::zip::ZipEntry *);
27
  virtual void closeEntry();
28
  virtual void write(JArray< jbyte > *, jint, jint);
29
  virtual void finish();
30
private:
31
  ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::util::zip::DeflaterOutputStream)))) entries;
32
  ::java::util::zip::CRC32 * crc;
33
  ::java::util::zip::ZipEntry * curEntry;
34
  jint curMethod;
35
  jint size;
36
  jint offset;
37
  JArray< jbyte > * zipComment;
38
  jint defaultMethod;
39
  static const jint ZIP_STORED_VERSION = 10;
40
  static const jint ZIP_DEFLATED_VERSION = 20;
41
public:
42
  static const jint STORED = 0;
43
  static const jint DEFLATED = 8;
44
  static ::java::lang::Class class$;
45
};
46
 
47
#endif // __java_util_zip_ZipOutputStream__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.