net.sourceforge.plantuml.oregon.Screen Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.oregon;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Screen {
private final List lines = new ArrayList<>();
public void clear() {
lines.clear();
}
public void print(String s) {
lines.add(s);
}
public void print() {
lines.add(" ");
}
public List getLines() {
return Collections.unmodifiableList(lines);
}
public String getLastLine() {
return lines.get(lines.size() - 1);
}
}