Class IconExe.WinICOFileFormat
- java.lang.Object
-
- org.eclipse.pde.internal.swt.tools.IconExe.FileFormat
-
- org.eclipse.pde.internal.swt.tools.IconExe.WinICOFileFormat
-
- Enclosing class:
- IconExe
static class IconExe.WinICOFileFormat extends IconExe.FileFormat
-
-
Field Summary
-
Fields inherited from class org.eclipse.pde.internal.swt.tools.IconExe.FileFormat
compression, inputStream, loader
-
-
Constructor Summary
Constructors Constructor Description WinICOFileFormat()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static byte[]convertPad(byte[] data, int width, int height, int depth, int pad, int newPad)(package private) inticonSize(IconExe.ImageData i)Answer the size in bytes of the file representation of the given icon(package private) booleanisFileFormat(IconExe.LEDataInputStream stream)Return whether or not the specified input stream represents a supported file format.(package private) booleanisValidIcon(IconExe.ImageData i)(package private) intloadFileHeader(IconExe.LEDataInputStream byteStream)(package private) intloadFileHeader(IconExe.LEDataInputStream byteStream, boolean hasHeader)(package private) IconExe.ImageData[]loadFromByteStream()(package private) IconExe.ImageDataloadIcon(int[] iconHeader)Load one icon from the byte stream.(package private) int[][]loadIconHeaders(int numIcons)(package private) byte[]loadInfoHeader(int[] iconHeader)-
Methods inherited from class org.eclipse.pde.internal.swt.tools.IconExe.FileFormat
bitInvertData, load, loadFromStream
-
-
-
-
Method Detail
-
convertPad
static final byte[] convertPad(byte[] data, int width, int height, int depth, int pad, int newPad)
-
iconSize
int iconSize(IconExe.ImageData i)
Answer the size in bytes of the file representation of the given icon
-
isFileFormat
boolean isFileFormat(IconExe.LEDataInputStream stream)
Description copied from class:IconExe.FileFormatReturn whether or not the specified input stream represents a supported file format.- Specified by:
isFileFormatin classIconExe.FileFormat
-
isValidIcon
boolean isValidIcon(IconExe.ImageData i)
-
loadFileHeader
int loadFileHeader(IconExe.LEDataInputStream byteStream)
-
loadFileHeader
int loadFileHeader(IconExe.LEDataInputStream byteStream, boolean hasHeader)
-
loadFromByteStream
IconExe.ImageData[] loadFromByteStream()
- Specified by:
loadFromByteStreamin classIconExe.FileFormat
-
loadIcon
IconExe.ImageData loadIcon(int[] iconHeader)
Load one icon from the byte stream.
-
loadIconHeaders
int[][] loadIconHeaders(int numIcons)
-
loadInfoHeader
byte[] loadInfoHeader(int[] iconHeader)
-
-