- java.lang.Object
-
- de.jangassen.icns.IcnsParser
-
public class IcnsParser extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIcnsParser(File icnsFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IcnsParserforFile(File file)static IcnsParserforFile(String path)InputStreamgetIconStream(IcnsType iconType)booleanhasIconType(IcnsType iconType)voidparse()
-
-
-
Constructor Detail
-
IcnsParser
protected IcnsParser(File icnsFile)
-
-
Method Detail
-
forFile
public static IcnsParser forFile(String path) throws IOException
- Throws:
IOException
-
forFile
public static IcnsParser forFile(File file) throws IOException
- Throws:
IOException
-
parse
public void parse() throws IOException- Throws:
IOException
-
hasIconType
public boolean hasIconType(IcnsType iconType)
-
getIconStream
public InputStream getIconStream(IcnsType iconType) throws IOException
- Throws:
IOException
-
-