Class SImageIO
- java.lang.Object
-
- net.sourceforge.plantuml.security.SImageIO
-
public class SImageIO extends Object
-
-
Constructor Summary
Constructors Constructor Description SImageIO()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImageInputStreamcreateImageInputStream(InputStream is)static ImageInputStreamcreateImageInputStream(Object obj)static ImageInputStreamcreateImageInputStream(SFile file)static ImageOutputStreamcreateImageOutputStream(OutputStream os)static Iterator<ImageReader>getImageReaders(ImageInputStream iis)static Iterator<ImageWriter>getImageWritersBySuffix(String string)static BufferedImageread(byte[] bytes)static BufferedImageread(File file)static BufferedImageread(InputStream is)static BufferedImageread(SFile file)static voidwrite(RenderedImage image, String format, OutputStream os)static voidwrite(RenderedImage image, String format, SFile file)
-
-
-
Method Detail
-
createImageOutputStream
public static ImageOutputStream createImageOutputStream(OutputStream os) throws IOException
- Throws:
IOException
-
write
public static void write(RenderedImage image, String format, OutputStream os) throws IOException
- Throws:
IOException
-
write
public static void write(RenderedImage image, String format, SFile file) throws IOException
- Throws:
IOException
-
read
public static BufferedImage read(File file) throws IOException
- Throws:
IOException
-
read
public static BufferedImage read(SFile file) throws IOException
- Throws:
IOException
-
read
public static BufferedImage read(InputStream is) throws IOException
- Throws:
IOException
-
read
public static BufferedImage read(byte[] bytes) throws IOException
- Throws:
IOException
-
createImageInputStream
public static ImageInputStream createImageInputStream(SFile file) throws IOException
- Throws:
IOException
-
createImageInputStream
public static ImageInputStream createImageInputStream(Object obj) throws IOException
- Throws:
IOException
-
createImageInputStream
public static ImageInputStream createImageInputStream(InputStream is) throws IOException
- Throws:
IOException
-
getImageReaders
public static Iterator<ImageReader> getImageReaders(ImageInputStream iis)
-
getImageWritersBySuffix
public static Iterator<ImageWriter> getImageWritersBySuffix(String string)
-
-