|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.okapi.common.resource.TargetPropertiesAnnotation
public class TargetPropertiesAnnotation
The target properties associated to a set of source properties in a resource.
| Constructor Summary | |
|---|---|
TargetPropertiesAnnotation()
Creates a new TargetPropertiesAnnotation object. |
|
| Method Summary | |
|---|---|
java.util.LinkedHashMap<java.lang.String,Property> |
get(LocaleId locId)
Gets the properties for a given target locale. |
java.util.Set<LocaleId> |
getLocales()
Gets a set of the target locales available in this annotation. |
boolean |
isEmpty()
Indicates if this annotation has any properties. |
java.util.Iterator<LocaleId> |
iterator()
Gets a new iterator for this annotation. |
void |
set(LocaleId locId,
java.util.LinkedHashMap<java.lang.String,Property> properties)
Sets properties for a given target locale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.okapi.common.annotation.IAnnotation |
|---|
toString |
| Constructor Detail |
|---|
public TargetPropertiesAnnotation()
| Method Detail |
|---|
public void set(LocaleId locId,
java.util.LinkedHashMap<java.lang.String,Property> properties)
locId - Code of the target locale for this property.properties - The properties to set.public java.util.LinkedHashMap<java.lang.String,Property> get(LocaleId locId)
locId - Code of the target locale of the properties to retrieve.
public boolean isEmpty()
public java.util.Iterator<LocaleId> iterator()
iterator in interface java.lang.Iterable<LocaleId>public java.util.Set<LocaleId> getLocales()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||