1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_imageio_ImageIO__
|
5 |
|
|
#define __javax_imageio_ImageIO__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
namespace image
|
19 |
|
|
{
|
20 |
|
|
class BufferedImage;
|
21 |
|
|
class RenderedImage;
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
namespace net
|
25 |
|
|
{
|
26 |
|
|
class URL;
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
namespace javax
|
30 |
|
|
{
|
31 |
|
|
namespace imageio
|
32 |
|
|
{
|
33 |
|
|
class ImageIO;
|
34 |
|
|
class ImageReader;
|
35 |
|
|
class ImageTypeSpecifier;
|
36 |
|
|
class ImageWriter;
|
37 |
|
|
namespace spi
|
38 |
|
|
{
|
39 |
|
|
class IIORegistry;
|
40 |
|
|
class ServiceRegistry$Filter;
|
41 |
|
|
}
|
42 |
|
|
namespace stream
|
43 |
|
|
{
|
44 |
|
|
class ImageInputStream;
|
45 |
|
|
class ImageOutputStream;
|
46 |
|
|
}
|
47 |
|
|
}
|
48 |
|
|
}
|
49 |
|
|
}
|
50 |
|
|
|
51 |
|
|
class javax::imageio::ImageIO : public ::java::lang::Object
|
52 |
|
|
{
|
53 |
|
|
|
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$;
|
95 |
|
|
};
|
96 |
|
|
|
97 |
|
|
#endif // __javax_imageio_ImageIO__
|