|
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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
FileNotFoundExceptionpublic ImageData(byte[] byteArray)
| Method Detail |
|---|
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic byte[] getValue()
public void setValue(byte[] val)
public int getSize()
public void writeToFile(String fileName)
throws FileNotFoundException
FileNotFoundExceptionpublic boolean equals(Object obj)
equals in class Objectobj - the object that we are comparing to
public int hashCode()
hashCode in class Objectpublic 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 | |||||||||