Package org.jabylon.properties.xliff
Class XliffWriter
- java.lang.Object
-
- org.jabylon.properties.xliff.XliffWriter
-
public final class XliffWriter extends Object
- Author:
- c.samulski (2016-01-30)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static ElementcreateTransUnitElement(Document doc, String key, String sourceValue, String targetValue)static voidwrite(OutputStream out, PropertyWrapper filteredSource, PropertyWrapper filteredTarget, String encoding)Basically Main() for this class.
-
-
-
Method Detail
-
write
public static final void write(OutputStream out, PropertyWrapper filteredSource, PropertyWrapper filteredTarget, String encoding) throws IOException
Basically Main() for this class. Writes an XLIFF 1.2 xml document filled with source/target properties passed via the correspondingPropertyWrappers to theOutputStream.- Throws:
IOException
-
-