TextUnit/Unit conversion helper class
Issue #607
new
In several places we need to convert Okapi main TextUnit objects into XLIFF2 Unit objects, and vice-versa. E.g. in the XLIFF2 Filter, or the OmegaT Filters plugin.
We should have a re-usable helper class in the main project to do this.