|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.SpotImage
public class SpotImage
Holds the image information about a single spot image in PNG format.
Field Summary | |
---|---|
private byte[] |
image
|
Constructor Summary | |
---|---|
SpotImage(byte[] image)
Constructor that takes the image as a byte array. |
Method Summary | |
---|---|
int |
getBytes()
Get the number of bytes of the image. |
byte[] |
getImage()
Get the image as an array of bytes. |
InputStream |
getInputStream()
Get an InputStream of the image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final byte[] image
Constructor Detail |
---|
SpotImage(byte[] image)
image
- Byte array of a PNG imageMethod Detail |
---|
public InputStream getInputStream()
InputStream
of the image.
InputStream
public byte[] getImage()
public int getBytes()
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |