Package de.codecentric.centerdevice.icns
Class IcnsParser
- java.lang.Object
-
- de.codecentric.centerdevice.icns.IcnsParser
-
public class IcnsParser extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IcnsParser(File icnsFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IcnsParser
forFile(File file)
static IcnsParser
forFile(String path)
InputStream
getIconStream(IcnsType iconType)
boolean
hasIconType(IcnsType iconType)
void
parse()
-
-
-
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
-
-