public class BinaryData extends java.lang.Object implements java.io.Serializable, Data
Constructor and Description |
---|
BinaryData() |
BinaryData(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object image) |
byte[] |
getBytes() |
java.lang.Object |
getCache() |
long |
getId() |
javax.swing.ImageIcon |
getImageIcon() |
int |
hashCode() |
void |
outputToFile(java.lang.String path,
boolean overWrite) |
void |
setBytes(byte[] bytes) |
void |
setCache(java.lang.Object cache) |
void |
setId(long id) |
void |
setImage(java.io.InputStream stream,
int maxSize) |
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object image)
equals
in class java.lang.Object
public java.lang.Object getCache()
public void setCache(java.lang.Object cache)
public byte[] getBytes()
public void setBytes(byte[] bytes)
public void setImage(java.io.InputStream stream, int maxSize)
public void outputToFile(java.lang.String path, boolean overWrite) throws java.io.IOException
java.io.IOException
public javax.swing.ImageIcon getImageIcon()