|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.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 image| Method Detail |
|---|
public InputStream getInputStream()
InputStream of the image.
InputStreampublic byte[] getImage()
public int getBytes()
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||