public class PropWriter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PropWriter.CHARSET |
| Constructor and Description |
|---|
PropWriter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
writeSource(Resource doc,
File baseDir,
PropWriter.CHARSET charset)
Writes a properties file representation of the given
Resource to
the given directory in PropWriter.CHARSET.UTF8 or PropWriter.CHARSET.Latin1 encoding. |
static void |
writeTranslationsFile(TranslatedDoc translatedDoc,
File propertiesFile,
PropWriter.CHARSET charset,
boolean createSkeletons,
boolean approvedOnly)
Writes to given properties file of the given TranslationsResource
in
PropWriter.CHARSET.UTF8 or PropWriter.CHARSET.Latin1 encoding. |
public static void writeSource(Resource doc, File baseDir, PropWriter.CHARSET charset) throws IOException
Resource to
the given directory in PropWriter.CHARSET.UTF8 or PropWriter.CHARSET.Latin1 encoding.doc - baseDir - charset - PropWriter.CHARSETIOExceptionpublic static void writeTranslationsFile(TranslatedDoc translatedDoc, File propertiesFile, PropWriter.CHARSET charset, boolean createSkeletons, boolean approvedOnly) throws IOException
PropWriter.CHARSET.UTF8 or PropWriter.CHARSET.Latin1 encoding.IOExceptionCopyright © 2018 Zanata Project. All rights reserved.