Package net.sf.okapi.common
Class DefaultLocalePair
- java.lang.Object
-
- net.sf.okapi.common.DefaultLocalePair
-
- All Implemented Interfaces:
LocalePair
public class DefaultLocalePair extends Object implements LocalePair
A default locale pair.
-
-
Constructor Summary
Constructors Constructor Description DefaultLocalePair(LocaleId source, LocaleId target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocaleIdsource()Obtains the source locale.LocaleIdtarget()Obtains the target locale.
-
-
-
Method Detail
-
source
public LocaleId source()
Description copied from interface:LocalePairObtains the source locale.- Specified by:
sourcein interfaceLocalePair- Returns:
- The source locale
-
target
public LocaleId target()
Description copied from interface:LocalePairObtains the target locale.- Specified by:
targetin interfaceLocalePair- Returns:
- The target locale
-
-