Class DirectoryEntry
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.bmp.DirectoryEntry
-
- Direct Known Subclasses:
DirectoryEntry.CUREntry
,DirectoryEntry.ICOEntry
abstract class DirectoryEntry extends java.lang.Object
DirectoryEntry- 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 class
DirectoryEntry.CUREntry
Cursor directory entry.(package private) static class
DirectoryEntry.ICOEntry
Icon 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 DirectoryEntry
createEntry(int type)
int
getBitCount()
int
getColorCount()
int
getHeight()
int
getOffset()
int
getPlanes()
int
getSize()
int
getWidth()
static DirectoryEntry
read(int type, java.io.DataInput stream)
protected void
read(java.io.DataInput stream)
java.lang.String
toString()
(package private) void
write(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:
toString
in 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()
-
-