public class ICODecoder
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
static java.util.List |
read(java.io.File file)
Reads and decodes the given ICO file.
|
static java.util.List |
read(java.io.InputStream is)
Reads and decodes ICO data from the given source.
|
static java.util.List |
readExt(java.io.File file)
Reads and decodes the given ICO file, together with all metadata.
|
static java.util.List |
readExt(java.io.InputStream is)
Reads and decodes ICO data from the given source, together with all metadata.
|
public static java.util.List 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 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 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 readExt(java.io.InputStream is)
throws java.io.IOException
is - the source InputStream to readjava.io.IOException - if an error occurs