|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implements the destination part of the write functionality in the MJC layer hierarchy. MJCWriteable is always the destination of data from the MJCWriter. Writing in the MJC layer hierarchy is synchronous. If the MJCWriter is willing to write, it calls one of the write methods of the MJCWriteable. The write will return after the data is submitted to bottom layers. Data can be buffered by the MJCWriteable.
Method Summary | |
void |
flush()
Flushes the contents of the write buffer to bottom layers. |
java.lang.String |
getLastWriteableError()
Returns the error message of the last occured error. |
java.lang.String |
getWriteableName()
Returns the MJC name of the MJCWriteable. |
java.lang.String |
getWriteableVersion()
Returns the MJC version of the MJCWriteable. |
boolean |
isWriteableConnected()
Returns wether the MJCWriteable is connected to its target. |
boolean |
write(char c)
Writes one single char. |
boolean |
write(char[] c)
Writes a char array. |
boolean |
write(java.lang.String s)
Writes a String. |
Method Detail |
public java.lang.String getWriteableName()
public java.lang.String getWriteableVersion()
public boolean write(char c)
char
- c: the char to be writtenpublic boolean write(java.lang.String s)
String
- s: the String to be writtenpublic boolean write(char[] c)
char[]
- c: the char array to be writtenpublic void flush()
public java.lang.String getLastWriteableError()
public boolean isWriteableConnected()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |