de.pentabyte.tools.i18n.core.Entry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of i18n-maven-plugin Show documentation
Show all versions of i18n-maven-plugin Show documentation
This project defines an XML schema which holds translated text resoures in one file. This maven plugin can create the platform specific message files from this one XML file. Use it during the "generate-resources" phase to keep your language files up to date.
package de.pentabyte.tools.i18n.core;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* Relates to "entry"-node from i18n.xml file. This is a NON-recursive data
* structure.
*
* @author Michael Höreth
*/
public class Entry {
private String description;
private Map textMap;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Map getTextMap() {
if (textMap == null) {
textMap = new LinkedHashMap();
}
return textMap;
}
public void setTextMap(Map textMap) {
this.textMap = textMap;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy