2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_imageio_ImageIO__
5 #define __javax_imageio_ImageIO__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
35 class ImageTypeSpecifier
;
40 class ServiceRegistry$Filter
;
44 class ImageInputStream
;
45 class ImageOutputStream
;
51 class javax::imageio::ImageIO
: public ::java::lang::Object
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
*);
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();
68 static ::javax::imageio::spi::IIORegistry
* getRegistry();
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
*);
91 static ::java::io::File
* cacheDirectory
;
92 static jboolean useCache
;
94 static ::java::lang::Class
class$
;
97 #endif // __javax_imageio_ImageIO__