|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ucware.icontools.IconTools
public class IconTools
A class containing static convenience methods for performing simple reading operations on Windows .ICO files.
Constructor Summary | |
---|---|
IconTools()
|
Method Summary | |
---|---|
static javax.swing.Icon[] |
readIcons(java.io.File in)
Returns an array of Icon s containing all of the Icons that have been read from the in . |
static javax.swing.Icon[] |
readIcons(java.io.InputStream in)
Returns an array of Icon s containing all of the Icons that have been read from the in . |
static javax.swing.Icon[] |
readIcons(RandomAccessData in)
Returns an array of Icon s containing all of the Icons that have been read from the in . |
static javax.swing.Icon[] |
readIcons(java.net.URL in)
Returns an array of Icon s containing all of the Icons that have been read from the in . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IconTools()
Method Detail |
---|
public static javax.swing.Icon[] readIcons(java.io.File in) throws java.io.IOException
Icon
s containing all of the Icons that have been read from the in
.
in
- a File to read from.
java.io.IOException
public static javax.swing.Icon[] readIcons(RandomAccessData in) throws java.io.IOException
Icon
s containing all of the Icons that have been read from the in
.
in
- a RandomAccessData to read from.
java.io.IOException
public static javax.swing.Icon[] readIcons(java.io.InputStream in) throws java.io.IOException
Icon
s containing all of the Icons that have been read from the in
.
This method reads all available data from the in
into memory.
in
- an InputStream to read from.
java.io.IOException
public static javax.swing.Icon[] readIcons(java.net.URL in) throws java.io.IOException
Icon
s containing all of the Icons that have been read from the in
.
This method reads all available data from the in
into memory.
in
- an URL to read from.
java.io.IOException
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |