Fix expected messages in test
[official-gcc.git] / libjava / javax / imageio / ImageIO.h
blob95309b7e7aa849c0883ff088ff614dd99783494e
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_imageio_ImageIO__
5 #define __javax_imageio_ImageIO__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace awt
18 namespace image
20 class BufferedImage;
21 class RenderedImage;
24 namespace net
26 class URL;
29 namespace javax
31 namespace imageio
33 class ImageIO;
34 class ImageReader;
35 class ImageTypeSpecifier;
36 class ImageWriter;
37 namespace spi
39 class IIORegistry;
40 class ServiceRegistry$Filter;
42 namespace stream
44 class ImageInputStream;
45 class ImageOutputStream;
51 class javax::imageio::ImageIO : public ::java::lang::Object
54 ImageIO();
55 static ::java::util::Iterator * getReadersByFilter(::java::lang::Class *, ::javax::imageio::spi::ServiceRegistry$Filter *, ::java::lang::Object *);
56 static ::java::util::Iterator * getWritersByFilter(::java::lang::Class *, ::javax::imageio::spi::ServiceRegistry$Filter *, ::java::lang::Object *);
57 public:
58 static ::java::io::File * getCacheDirectory();
59 static ::java::util::Iterator * getImageReadersByFormatName(::java::lang::String *);
60 static ::java::util::Iterator * getImageReadersByMIMEType(::java::lang::String *);
61 static ::java::util::Iterator * getImageReadersBySuffix(::java::lang::String *);
62 static ::java::util::Iterator * getImageWritersByFormatName(::java::lang::String *);
63 static ::java::util::Iterator * getImageWritersByMIMEType(::java::lang::String *);
64 static ::java::util::Iterator * getImageWritersBySuffix(::java::lang::String *);
65 static JArray< ::java::lang::String * > * getReaderFormatNames();
66 static JArray< ::java::lang::String * > * getReaderMIMETypes();
67 private:
68 static ::javax::imageio::spi::IIORegistry * getRegistry();
69 public:
70 static jboolean getUseCache();
71 static JArray< ::java::lang::String * > * getWriterFormatNames();
72 static JArray< ::java::lang::String * > * getWriterMIMETypes();
73 static void scanForPlugins();
74 static void setCacheDirectory(::java::io::File *);
75 static void setUseCache(jboolean);
76 static jboolean write(::java::awt::image::RenderedImage *, ::java::lang::String *, ::java::io::File *);
77 static jboolean write(::java::awt::image::RenderedImage *, ::java::lang::String *, ::java::io::OutputStream *);
78 static jboolean write(::java::awt::image::RenderedImage *, ::java::lang::String *, ::javax::imageio::stream::ImageOutputStream *);
79 static ::java::awt::image::BufferedImage * read(::javax::imageio::stream::ImageInputStream *);
80 static ::java::awt::image::BufferedImage * read(::java::net::URL *);
81 static ::java::awt::image::BufferedImage * read(::java::io::InputStream *);
82 static ::java::awt::image::BufferedImage * read(::java::io::File *);
83 static ::javax::imageio::stream::ImageInputStream * createImageInputStream(::java::lang::Object *);
84 static ::javax::imageio::stream::ImageOutputStream * createImageOutputStream(::java::lang::Object *);
85 static ::javax::imageio::ImageReader * getImageReader(::javax::imageio::ImageWriter *);
86 static ::java::util::Iterator * getImageReaders(::java::lang::Object *);
87 static ::java::util::Iterator * getImageWriters(::javax::imageio::ImageTypeSpecifier *, ::java::lang::String *);
88 static ::javax::imageio::ImageWriter * getImageWriter(::javax::imageio::ImageReader *);
89 static ::java::util::Iterator * getImageTranscoders(::javax::imageio::ImageReader *, ::javax::imageio::ImageWriter *);
90 private:
91 static ::java::io::File * cacheDirectory;
92 static jboolean useCache;
93 public:
94 static ::java::lang::Class class$;
97 #endif // __javax_imageio_ImageIO__