public class GlossaryPoWriter extends AbstractGlossaryPullWriter
| Constructor and Description |
|---|
GlossaryPoWriter(boolean encodeTabs) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(OutputStream stream,
List<GlossaryEntry> entries,
LocaleId srcLocale,
LocaleId targetLocale) |
void |
write(Writer fileWriter,
List<GlossaryEntry> entries,
LocaleId srcLocale,
LocaleId targetLocale)
This output a single po files of given
targetLocale. |
getGlossaryTermpublic void write(@Nonnull OutputStream stream, @Nonnull List<GlossaryEntry> entries, @Nonnull LocaleId srcLocale, @Nonnull LocaleId targetLocale) throws IOException
IOException#write(Writer, List, LocaleId, LocaleId)}public void write(@Nonnull Writer fileWriter, @Nonnull List<GlossaryEntry> entries, @Nonnull LocaleId srcLocale, @Nonnull LocaleId targetLocale) throws IOException
targetLocale.
GlossaryEntry.description and comment from source term
GlossaryEntry.srcLang and translation term will be used
as comments.IOExceptionCopyright © 2017 Zanata Project. All rights reserved.