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
- IOException
public static void writeUTF8(org.zanata.rest.dto.resource.Resource doc, File baseDir) throws IOException
IOException
public 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
IOException
public 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
IOException
Copyright © 2014 Zanata Project. All rights reserved.