| Package | Description |
|---|---|
| net.sf.okapi.common.resource |
Interfaces and classes that represent the parsed resources attached to the
events sent by a filter.
|
| Modifier and Type | Method and Description |
|---|---|
static CodeMatchStrategy |
CodeMatchStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodeMatchStrategy[] |
CodeMatchStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static CodeMatches |
TextFragmentUtil.alignAndCopyCodeMetadata(TextFragment from,
TextFragment to,
boolean addMissingCodes,
boolean forceCopy,
CodeMatchStrategy strategy)
Update the meta fields in
Code "to" that match those of
"from" But only if the "to" code has empty data (@see{forceCopy}). |
void |
TextFragment.alignCodeIds(TextFragment base,
CodeMatchStrategy strategy)
Aligns the code IDs of this fragment with the ones of a given fragment.
|
static CodeMatches |
TextFragmentUtil.synchronizeCodeIds(TextFragment from,
TextFragment to,
CodeMatchStrategy strategy)
Matches the code IDs of the
from |
Copyright © 2022. All rights reserved.