Uses of Class
net.sf.okapi.common.resource.TextPart
-
Packages that use TextPart Package Description net.sf.okapi.common Classes commonly used across the whole Okapi Framework.net.sf.okapi.common.resource Interfaces and classes that represent the parsed resources attached to the events sent by a filter.net.sf.okapi.filters.xliff2.util net.sf.okapi.lib.merge.merge net.sf.okapi.steps.common Classes implementing often-used steps. -
-
Uses of TextPart in net.sf.okapi.common
Fields in net.sf.okapi.common declared as TextPart Modifier and Type Field Description TextPartRange. part -
Uses of TextPart in net.sf.okapi.common.resource
Subclasses of TextPart in net.sf.okapi.common.resource Modifier and Type Class Description classSegmentImplement a special content part that is a segment.Methods in net.sf.okapi.common.resource that return TextPart Modifier and Type Method Description TextPartTextPart. clone()Clone ofTextPartTextPartTextContainer. get(int index)Gets the part (segment or non-segment) for a given part index.Methods in net.sf.okapi.common.resource that return types with arguments of type TextPart Modifier and Type Method Description List<TextPart>Segments. getParts()List<TextPart>TextContainer. getParts()List<TextPart>AlignedPair. getSourceParts()Gets the sourceTextPartsList<TextPart>AlignedPair. getTargetParts()Gets the targetTextPartsIterator<TextPart>TextContainer. iterator()Creates an iterator to loop through the parts (segments and non-segments) of this container.Methods in net.sf.okapi.common.resource with parameters of type TextPart Modifier and Type Method Description voidTextContainer. append(TextPart part)Appends aTextPart(segment or non-segment) at the end of this container.voidTextContainer. append(TextPart part, boolean collapseIfPreviousEmpty)Appends aTextPart(segment or non-segment) at the end of this container.intTextPartComparator. compare(TextPart orig, TextPart trans)Match on id and type (segment or not) or TextFragment.static voidTextUnitUtil. convertTextPart_whitespaceCodesToText(TextPart textPart)static voidTextUnitUtil. convertTextPartToCode(TextPart textPart)Create a single code with a given TextPart's text.voidTextContainer. insert(int partIndex, TextPart part)Inserts a given part (segment or non-segment) at a given position.voidTextContainer. setParts(TextPart... parts)Method parameters in net.sf.okapi.common.resource with type arguments of type TextPart Modifier and Type Method Description voidSegments. setParts(List<TextPart> parts)Sets the list of TextPart objects in which the segments for this Segments object are located.Constructors in net.sf.okapi.common.resource with parameters of type TextPart Constructor Description TextContainer(TextPart... parts)Creates a new TextContainer object with initialTextParts (segment or non-segment) appended.Constructor parameters in net.sf.okapi.common.resource with type arguments of type TextPart Constructor Description AlignedPair(List<TextPart> sourceParts, List<TextPart> targetParts, LocaleId localeId)Creates an AlignedPair from source and targetTextParts -
Uses of TextPart in net.sf.okapi.filters.xliff2.util
Methods in net.sf.okapi.filters.xliff2.util with parameters of type TextPart Modifier and Type Method Description static voidPropertiesMapper. setPartProperties(TextPart okapiSourcePart, Part xliffPart)Transfers properties from the Okapi Core TextPart to the XLIFF Toolkit Partstatic voidPropertiesMapper. setPartProperties(Part xliffPart, TextPart okapiPart)Transfers properties from the XLIFF Toolkit Part to the Okapi Core TextPart -
Uses of TextPart in net.sf.okapi.lib.merge.merge
Methods in net.sf.okapi.lib.merge.merge with type parameters of type TextPart Modifier and Type Method Description <T extends TextPart>
booleanTextUnitMerger. hasMeta(T p)Method parameters in net.sf.okapi.lib.merge.merge with type arguments of type TextPart Modifier and Type Method Description default voidITextUnitMerger. copyTextPartMetadata(List<TextPart> from, List<TextPart> to, String id)voidTextUnitMerger. copyTextPartMetadata(List<TextPart> from, List<TextPart> to, String id) -
Uses of TextPart in net.sf.okapi.steps.common
Methods in net.sf.okapi.steps.common with parameters of type TextPart Modifier and Type Method Description booleanExtractionVerificationUtil. compareTextParts(TextPart tp1, TextPart tp2)Compares two TextPart.
-