summaryrefslogtreecommitdiff
path: root/libjava/javax/imageio/ImageIO.h
blob: 95309b7e7aa849c0883ff088ff614dd99783494e (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_imageio_ImageIO__
#define __javax_imageio_ImageIO__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace image
      {
          class BufferedImage;
          class RenderedImage;
      }
    }
    namespace net
    {
        class URL;
    }
  }
  namespace javax
  {
    namespace imageio
    {
        class ImageIO;
        class ImageReader;
        class ImageTypeSpecifier;
        class ImageWriter;
      namespace spi
      {
          class IIORegistry;
          class ServiceRegistry$Filter;
      }
      namespace stream
      {
          class ImageInputStream;
          class ImageOutputStream;
      }
    }
  }
}

class javax::imageio::ImageIO : public ::java::lang::Object
{

  ImageIO();
  static ::java::util::Iterator * getReadersByFilter(::java::lang::Class *, ::javax::imageio::spi::ServiceRegistry$Filter *, ::java::lang::Object *);
  static ::java::util::Iterator * getWritersByFilter(::java::lang::Class *, ::javax::imageio::spi::ServiceRegistry$Filter *, ::java::lang::Object *);
public:
  static ::java::io::File * getCacheDirectory();
  static ::java::util::Iterator * getImageReadersByFormatName(::java::lang::String *);
  static ::java::util::Iterator * getImageReadersByMIMEType(::java::lang::String *);
  static ::java::util::Iterator * getImageReadersBySuffix(::java::lang::String *);
  static ::java::util::Iterator * getImageWritersByFormatName(::java::lang::String *);
  static ::java::util::Iterator * getImageWritersByMIMEType(::java::lang::String *);
  static ::java::util::Iterator * getImageWritersBySuffix(::java::lang::String *);
  static JArray< ::java::lang::String * > * getReaderFormatNames();
  static JArray< ::java::lang::String * > * getReaderMIMETypes();
private:
  static ::javax::imageio::spi::IIORegistry * getRegistry();
public:
  static jboolean getUseCache();
  static JArray< ::java::lang::String * > * getWriterFormatNames();
  static JArray< ::java::lang::String * > * getWriterMIMETypes();
  static void scanForPlugins();
  static void setCacheDirectory(::java::io::File *);
  static void setUseCache(jboolean);
  static jboolean write(::java::awt::image::RenderedImage *, ::java::lang::String *, ::java::io::File *);
  static jboolean write(::java::awt::image::RenderedImage *, ::java::lang::String *, ::java::io::OutputStream *);
  static jboolean write(::java::awt::image::RenderedImage *, ::java::lang::String *, ::javax::imageio::stream::ImageOutputStream *);
  static ::java::awt::image::BufferedImage * read(::javax::imageio::stream::ImageInputStream *);
  static ::java::awt::image::BufferedImage * read(::java::net::URL *);
  static ::java::awt::image::BufferedImage * read(::java::io::InputStream *);
  static ::java::awt::image::BufferedImage * read(::java::io::File *);
  static ::javax::imageio::stream::ImageInputStream * createImageInputStream(::java::lang::Object *);
  static ::javax::imageio::stream::ImageOutputStream * createImageOutputStream(::java::lang::Object *);
  static ::javax::imageio::ImageReader * getImageReader(::javax::imageio::ImageWriter *);
  static ::java::util::Iterator * getImageReaders(::java::lang::Object *);
  static ::java::util::Iterator * getImageWriters(::javax::imageio::ImageTypeSpecifier *, ::java::lang::String *);
  static ::javax::imageio::ImageWriter * getImageWriter(::javax::imageio::ImageReader *);
  static ::java::util::Iterator * getImageTranscoders(::javax::imageio::ImageReader *, ::javax::imageio::ImageWriter *);
private:
  static ::java::io::File * cacheDirectory;
  static jboolean useCache;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_imageio_ImageIO__