net.sourceforge.plantuml.eggs.PSystemEgg 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.eggs;
import java.util.StringTokenizer;
import net.sourceforge.plantuml.PlainStringsDiagram;
import net.sourceforge.plantuml.core.DiagramDescription;
import net.sourceforge.plantuml.core.UmlSource;
public class PSystemEgg extends PlainStringsDiagram {
// ::remove file when __CORE__
PSystemEgg(UmlSource source, String sentence) {
super(source);
final StringTokenizer st = new StringTokenizer(sentence, "|");
while (st.hasMoreTokens()) {
strings.add(st.nextToken());
}
}
public DiagramDescription getDescription() {
return new DiagramDescription("(Easter Eggs)");
}
}