Interface ILayerProvider
-
- All Superinterfaces:
IEncoder
- All Known Implementing Classes:
LayerProvider
@Deprecated public interface ILayerProvider extends IEncoder
Deprecated.RTF layered output will be removed in an upcoming version. This includes support for Trados and WordFast RTF based formats.Provides common methods for encoding a layer on top of a text extracted with a filter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringendCode()Deprecated.Gets the string denoting the end of external codes.StringendInline()Deprecated.Gets the string denoting the end of inline codes.StringendSegment()Deprecated.Gets the string denoting the end of a bilingual segment.StringmidSegment(int leverage)Deprecated.Gets the string for the separator at the middle of a bilingual segment.StringstartCode()Deprecated.Gets the string denoting the start of external codes.StringstartInline()Deprecated.Gets the string denoting the start of inline codes.StringstartSegment()Deprecated.Gets the string denoting the start of a bilingual segment.-
Methods inherited from interface net.sf.okapi.common.encoder.IEncoder
encode, encode, encode, getCharsetEncoder, getEncoding, getLineBreak, getParameters, reset, setOptions, toNative
-
-
-
-
Method Detail
-
startCode
String startCode()
Deprecated.Gets the string denoting the start of external codes.- Returns:
- The string denoting the start of external codes.
-
endCode
String endCode()
Deprecated.Gets the string denoting the end of external codes.- Returns:
- The string denoting the end of external codes.
-
startInline
String startInline()
Deprecated.Gets the string denoting the start of inline codes.- Returns:
- The string denoting the start of inlinel codes.
-
endInline
String endInline()
Deprecated.Gets the string denoting the end of inline codes.- Returns:
- The string denoting the end of inlinel codes.
-
startSegment
String startSegment()
Deprecated.Gets the string denoting the start of a bilingual segment.- Returns:
- The string denoting the start of a bilingual segment.
-
endSegment
String endSegment()
Deprecated.Gets the string denoting the end of a bilingual segment.- Returns:
- The string denoting the end of a bilingual segment.
-
midSegment
String midSegment(int leverage)
Deprecated.Gets the string for the separator at the middle of a bilingual segment.- Parameters:
leverage- Indicator of leverage to optionally place in the separator.- Returns:
- The string for the separator at the middle of a bilingual segment.
-
-