public class ICODecoder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.awt.image.BufferedImage> |
read(java.io.File file)
Reads and decodes the given ICO file.
|
static java.util.List<java.awt.image.BufferedImage> |
read(java.io.InputStream is)
Reads and decodes ICO data from the given source.
|
static java.util.List<ICOImage> |
readExt(java.io.File file)
Reads and decodes the given ICO file, together with all metadata.
|
static java.util.List<ICOImage> |
readExt(java.io.InputStream is)
Reads and decodes ICO data from the given source, together with all
metadata.
|
public static java.util.List<java.awt.image.BufferedImage> read(java.io.File file) throws java.io.IOException
read(new
java.io.FileInputStream(file))
.file
- the source file to readjava.io.IOException
- if an error occurspublic static java.util.List<ICOImage> readExt(java.io.File file) throws java.io.IOException
readExt(new java.io.FileInputStream(file))
.file
- the source file to readjava.io.IOException
- if an error occurspublic static java.util.List<java.awt.image.BufferedImage> read(java.io.InputStream is) throws java.io.IOException
is
- the source InputStream to readjava.io.IOException
- if an error occurspublic static java.util.List<ICOImage> readExt(java.io.InputStream is) throws java.io.IOException
is
- the source InputStream to readjava.io.IOException
- if an error occurs