|
||||||||||
| PREV CLASS NEXT CLASS | NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The StringOutputStream interface represents an OutputStream that writes it's content to an in-memory character array.
WorkingMemory.newOutputStream(String, int)| Method Summary | |
void |
getChars(int srcBegin,
int srcEnd,
char[] dst,
int dstBegin)
Characters are copied from this stream into the destination character array. |
int |
length()
Returns the length of the data in the stream |
void |
reset()
Resets the string to output at the beginning |
java.lang.String |
toString()
Converts the data in the stream to a string |
| Methods inherited from interface com.haley.haleyrules.Stream |
close, getName |
| Methods inherited from interface com.haley.haleyrules.WorkingMemoryObject |
getWorkingMemory |
| Methods inherited from interface com.haley.haleyrules.KnowledgeBaseObject |
getKnowledgeBase, release |
| Method Detail |
public void reset()
public java.lang.String toString()
public int length()
public void getChars(int srcBegin,
int srcEnd,
char[] dst,
int dstBegin)
StringBuffer.getChars(int,int,char[],int)
srcBegin - the first character to copysrcEnd - the last character is ar srcEnd-1dst - the destination character arraydstBegin - the index to start copying character to
|
||||||||||
| PREV CLASS NEXT CLASS | NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||