Class DirectoryEntry
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.bmp.DirectoryEntry
-
- Direct Known Subclasses:
DirectoryEntry.CUREntry,DirectoryEntry.ICOEntry
abstract class DirectoryEntry extends java.lang.ObjectDirectoryEntry- Version:
- $Id: DirectoryEntry.java,v 1.0 Apr 4, 2009 4:29:53 PM haraldk Exp$
- See Also:
- Wikipedia
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classDirectoryEntry.CUREntryCursor directory entry.(package private) static classDirectoryEntry.ICOEntryIcon directory entry.
-
Constructor Summary
Constructors Constructor Description DirectoryEntry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static DirectoryEntrycreateEntry(int type)intgetBitCount()intgetColorCount()intgetHeight()intgetOffset()intgetPlanes()intgetSize()intgetWidth()static DirectoryEntryread(int type, java.io.DataInput stream)protected voidread(java.io.DataInput stream)java.lang.StringtoString()(package private) voidwrite(java.io.DataOutput output)
-
-
-
Method Detail
-
read
public static DirectoryEntry read(int type, java.io.DataInput stream) throws java.io.IOException
- Throws:
java.io.IOException
-
createEntry
private static DirectoryEntry createEntry(int type) throws javax.imageio.IIOException
- Throws:
javax.imageio.IIOException
-
read
protected void read(java.io.DataInput stream) throws java.io.IOException- Throws:
java.io.IOException
-
write
void write(java.io.DataOutput output) throws java.io.IOException- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getBitCount
public int getBitCount()
-
getColorCount
public int getColorCount()
-
getHeight
public int getHeight()
-
getOffset
public int getOffset()
-
getPlanes
public int getPlanes()
-
getSize
public int getSize()
-
getWidth
public int getWidth()
-
-