public class PropWriter extends Object
| Constructor and Description |
|---|
PropWriter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
write(org.zanata.rest.dto.resource.Resource doc,
File baseDir)
Writes a properties file representation of the given
Resource to
the given directory. |
static void |
write(org.zanata.rest.dto.resource.Resource srcDoc,
org.zanata.rest.dto.resource.TranslationsResource doc,
File baseDir,
String bundleName,
String locale,
boolean createSkeletons) |
static void |
writeUTF8(org.zanata.rest.dto.resource.Resource doc,
File baseDir) |
static void |
writeUTF8(org.zanata.rest.dto.resource.Resource srcDoc,
org.zanata.rest.dto.resource.TranslationsResource doc,
File baseDir,
String bundleName,
String locale,
boolean createSkeletons) |
public static void write(org.zanata.rest.dto.resource.Resource doc,
File baseDir)
throws IOException
Resource to
the given directory.doc - baseDir - IOExceptionpublic static void writeUTF8(org.zanata.rest.dto.resource.Resource doc,
File baseDir)
throws IOException
IOExceptionpublic static void write(org.zanata.rest.dto.resource.Resource srcDoc,
org.zanata.rest.dto.resource.TranslationsResource doc,
File baseDir,
String bundleName,
String locale,
boolean createSkeletons)
throws IOException
IOExceptionpublic static void writeUTF8(org.zanata.rest.dto.resource.Resource srcDoc,
org.zanata.rest.dto.resource.TranslationsResource doc,
File baseDir,
String bundleName,
String locale,
boolean createSkeletons)
throws IOException
IOExceptionCopyright © 2013 Zanata Project. All Rights Reserved.