summaryrefslogtreecommitdiff
path: root/libjava/javax/imageio/ImageIO.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
commit97b8365cafc3a344a22d3980b8ed885f5c6d8357 (patch)
tree996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/javax/imageio/ImageIO.h
parentc648dedbde727ca3f883bb5fd773aa4af70d3369 (diff)
downloadgcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.gz
Merged gcj-eclipse branch to trunk.
From-SVN: r120621
Diffstat (limited to 'libjava/javax/imageio/ImageIO.h')
-rw-r--r--libjava/javax/imageio/ImageIO.h97
1 files changed, 97 insertions, 0 deletions
diff --git a/libjava/javax/imageio/ImageIO.h b/libjava/javax/imageio/ImageIO.h
new file mode 100644
index 00000000000..95309b7e7aa
--- /dev/null
+++ b/libjava/javax/imageio/ImageIO.h
@@ -0,0 +1,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__