summaryrefslogtreecommitdiff
path: root/libjava/javax/imageio/stream/ImageOutputStream.h
blob: 7557e0a670b26a85babe7ce13ff7a6ac0d578383 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_imageio_stream_ImageOutputStream__
#define __javax_imageio_stream_ImageOutputStream__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace nio
    {
        class ByteOrder;
    }
  }
  namespace javax
  {
    namespace imageio
    {
      namespace stream
      {
          class IIOByteBuffer;
          class ImageOutputStream;
      }
    }
  }
}

class javax::imageio::stream::ImageOutputStream : public ::java::lang::Object
{

public:
  virtual void flushBefore(jlong) = 0;
  virtual void write(JArray< jbyte > *) = 0;
  virtual void write(JArray< jbyte > *, jint, jint) = 0;
  virtual void write(jint) = 0;
  virtual void writeBit(jint) = 0;
  virtual void writeBits(jlong, jint) = 0;
  virtual void writeBoolean(jboolean) = 0;
  virtual void writeByte(jint) = 0;
  virtual void writeBytes(::java::lang::String *) = 0;
  virtual void writeChar(jint) = 0;
  virtual void writeChars(JArray< jchar > *, jint, jint) = 0;
  virtual void writeChars(::java::lang::String *) = 0;
  virtual void writeDouble(jdouble) = 0;
  virtual void writeDoubles(JArray< jdouble > *, jint, jint) = 0;
  virtual void writeFloat(jfloat) = 0;
  virtual void writeFloats(JArray< jfloat > *, jint, jint) = 0;
  virtual void writeInt(jint) = 0;
  virtual void writeInts(JArray< jint > *, jint, jint) = 0;
  virtual void writeLong(jlong) = 0;
  virtual void writeLongs(JArray< jlong > *, jint, jint) = 0;
  virtual void writeShort(jint) = 0;
  virtual void writeShorts(JArray< jshort > *, jint, jint) = 0;
  virtual void writeUTF(::java::lang::String *) = 0;
  virtual void setByteOrder(::java::nio::ByteOrder *) = 0;
  virtual ::java::nio::ByteOrder * getByteOrder() = 0;
  virtual jint read() = 0;
  virtual jint read(JArray< jbyte > *) = 0;
  virtual jint read(JArray< jbyte > *, jint, jint) = 0;
  virtual void readBytes(::javax::imageio::stream::IIOByteBuffer *, jint) = 0;
  virtual jboolean readBoolean() = 0;
  virtual jbyte readByte() = 0;
  virtual jint readUnsignedByte() = 0;
  virtual jshort readShort() = 0;
  virtual jint readUnsignedShort() = 0;
  virtual jchar readChar() = 0;
  virtual jint readInt() = 0;
  virtual jlong readUnsignedInt() = 0;
  virtual jlong readLong() = 0;
  virtual jfloat readFloat() = 0;
  virtual jdouble readDouble() = 0;
  virtual ::java::lang::String * readLine() = 0;
  virtual ::java::lang::String * readUTF() = 0;
  virtual void readFully(JArray< jbyte > *, jint, jint) = 0;
  virtual void readFully(JArray< jbyte > *) = 0;
  virtual void readFully(JArray< jshort > *, jint, jint) = 0;
  virtual void readFully(JArray< jchar > *, jint, jint) = 0;
  virtual void readFully(JArray< jint > *, jint, jint) = 0;
  virtual void readFully(JArray< jlong > *, jint, jint) = 0;
  virtual void readFully(JArray< jfloat > *, jint, jint) = 0;
  virtual void readFully(JArray< jdouble > *, jint, jint) = 0;
  virtual jlong getStreamPosition() = 0;
  virtual jint getBitOffset() = 0;
  virtual void setBitOffset(jint) = 0;
  virtual jint readBit() = 0;
  virtual jlong readBits(jint) = 0;
  virtual jlong length() = 0;
  virtual jint skipBytes(jint) = 0;
  virtual jlong skipBytes(jlong) = 0;
  virtual void seek(jlong) = 0;
  virtual void mark() = 0;
  virtual void reset() = 0;
  virtual void flush() = 0;
  virtual jlong getFlushedPosition() = 0;
  virtual jboolean isCached() = 0;
  virtual jboolean isCachedMemory() = 0;
  virtual jboolean isCachedFile() = 0;
  virtual void close() = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __javax_imageio_stream_ImageOutputStream__