summaryrefslogtreecommitdiff
path: root/libjava/java/sql/Blob.h
blob: a1b00c2eda0301c98c8b69b617f7af45f8ca2093 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_sql_Blob__
#define __java_sql_Blob__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace sql
    {
        class Blob;
    }
  }
}

class java::sql::Blob : public ::java::lang::Object
{

public:
  virtual jlong length() = 0;
  virtual JArray< jbyte > * getBytes(jlong, jint) = 0;
  virtual ::java::io::InputStream * getBinaryStream() = 0;
  virtual jlong position(JArray< jbyte > *, jlong) = 0;
  virtual jlong position(::java::sql::Blob *, jlong) = 0;
  virtual jint setBytes(jlong, JArray< jbyte > *) = 0;
  virtual jint setBytes(jlong, JArray< jbyte > *, jint, jint) = 0;
  virtual ::java::io::OutputStream * setBinaryStream(jlong) = 0;
  virtual void truncate(jlong) = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __java_sql_Blob__