Package net.adoptopenjdk.icedteaweb.icon
Class IcoHeaderEntry
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.icon.IcoHeaderEntry
-
class IcoHeaderEntry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private intcolorCountprivate intfileOffsetprivate intheightprivate intsizeInBytesprivate intwidth
-
Constructor Summary
Constructors Constructor Description IcoHeaderEntry(javax.imageio.stream.ImageInputStream src)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) intgetColorCount()(package private) intgetFileOffset()(package private) intgetHeight()(package private) intgetSizeInBytes()(package private) intgetWidth()(package private) voidresetColorCount()(package private) voidsetHeight(int height)(package private) voidsetWidth(int width)
-
-
-
Constructor Detail
-
IcoHeaderEntry
IcoHeaderEntry(javax.imageio.stream.ImageInputStream src) throws java.io.IOException, IcoException- Throws:
java.io.IOExceptionIcoException
-
-
Method Detail
-
getColorCount
int getColorCount()
- Returns:
- the colorCount
-
resetColorCount
void resetColorCount()
-
getWidth
int getWidth()
- Returns:
- the width
-
setWidth
void setWidth(int width)
- Parameters:
width- the width to set
-
getHeight
int getHeight()
- Returns:
- the height
-
setHeight
void setHeight(int height)
- Parameters:
height- the height to set
-
getSizeInBytes
int getSizeInBytes()
-
getFileOffset
int getFileOffset()
-
-