41424344454647
public String toString() { return Reflection.toString(this); } public static GroupIconDirectory read(byte[] data) throws IOException { return read(new DataReader(data)); }
25262728293031
{ private IconDirectory directory; private IconImage[] images; public static IconFile parse(String filename) throws IOException { return read(new DataReader(new FileInputStream(filename))); }
29303132333435
public static IconFile parse(String filename) throws IOException { return read(new DataReader(new FileInputStream(filename))); } public static IconFile parse(File file) throws IOException { return read(new DataReader(new FileInputStream(file))); }
6263646566676869707172
// Check for PNG data if (gide.getWidth() == 0 && gide.getHeight() == 0) { IconImage ii = ResourceParser.readPNG(d); images[j] = ii; } else { IconImage ii = ResourceParser.readIconImage(new DataReader( d), gide.getBytesInRes()); images[j] = ii; } }