|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bmc.arsys.api.ImageData
public class ImageData
The ImageData
class is used to contain image object data.
Constructor Summary | |
---|---|
ImageData(byte[] byteArray)
|
|
ImageData(String fileName)
|
Method Summary | |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the provided one. |
int |
getSize()
Retrieves size of the image. |
byte[] |
getValue()
Retrieves contents of image. |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
setValue(byte[] val)
Sets contents of image. |
String |
toString()
Returns a string description of the object. |
void |
writeToFile(String fileName)
Save contents of image to a file. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageData(String fileName) throws FileNotFoundException
FileNotFoundException
public ImageData(byte[] byteArray)
Method Detail |
---|
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public byte[] getValue()
public void setValue(byte[] val)
public int getSize()
public void writeToFile(String fileName) throws FileNotFoundException
FileNotFoundException
public boolean equals(Object obj)
equals
in class Object
obj
- the object that we are comparing to
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |