public interface IAnnotation
Modifier and Type | Interface and Description |
---|---|
static interface |
IAnnotation.Location |
Modifier and Type | Method and Description |
---|---|
void |
deleteFile()
delete the annotation file.
|
ArrayList<String> |
getFileNameList()
return the full path name of the local file to which the annotation data was written.
|
int |
getFileSize() |
int |
getFileSize(int n) |
String |
getTargetEventId()
get the saved target event id
|
String |
getWBDirectory()
return the workbench path set in the constructor
|
boolean |
isActive()
Return true iff the annotation is accepting data.
|
void |
setTargetEventId(String id)
save the event id of the history event which will receive the annotation.
|
void |
stopAnnotation()
stop the annotation service.
|
void |
stopAnnotation(boolean waitFlag)
stop the annotation service.
|
IAnnotation.Location |
write(byte[] data)
write bytes to the queue for processing.
|
boolean isActive()
IAnnotation.Location write(byte[] data)
data
- the data to put in the annotation filevoid stopAnnotation()
void stopAnnotation(boolean waitFlag)
waitFlag
- void deleteFile()
void setTargetEventId(String id)
id
- String getTargetEventId()
ArrayList<String> getFileNameList()
String getWBDirectory()
int getFileSize()
int getFileSize(int n)
n
- the index into the file list of the file in question© Copyright IBM Corp. 2013. All rights reserved.