All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.pentabyte.tools.i18n.core.Entry Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.2.3
Show newest version
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