mirror of
https://github.com/zeroflag/fcl.git
synced 2025-01-11 20:01:10 +01:00
20 lines
373 B
Java
20 lines
373 B
Java
|
package com.vectron.fcl;
|
||
|
|
||
|
public class RamTranscript implements Transcript {
|
||
|
private final StringBuilder content = new StringBuilder();
|
||
|
|
||
|
@Override
|
||
|
public void show(String str) {
|
||
|
content.append(str);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void cr() {
|
||
|
content.append("\n");
|
||
|
}
|
||
|
|
||
|
public String content() {
|
||
|
return content.toString();
|
||
|
}
|
||
|
}
|