de.rpgframework.random.TextLine Maven / Gradle / Ivy
The newest version!
package de.rpgframework.random;
import java.util.ArrayList;
import java.util.List;
import org.prelle.simplepersist.ElementList;
/**
* @author prelle
*
*/
public class TextLine {
@ElementList(entry="key", type = String.class, inline=true)
private List i18nKeys;
//-------------------------------------------------------------------
public TextLine() {
i18nKeys = new ArrayList<>();
}
//-------------------------------------------------------------------
public void addText(String key) {
i18nKeys.add(key);
}
//-------------------------------------------------------------------
public List getKeys() {
return i18nKeys;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy