Package org.jabylon.properties.xliff
Class XliffResourceImpl
- java.lang.Object
-
- org.jabylon.properties.xliff.XliffResourceImpl
-
- All Implemented Interfaces:
BilingualPropertyResource
public class XliffResourceImpl extends Object implements BilingualPropertyResource
- Author:
- c.samulski (2016-02-01)
-
-
Constructor Summary
Constructors Constructor Description XliffResourceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyWrapperread(InputStream stream)Reads an XLIFF (1.2) resource from theInputStream, converts toPropertys, held in aPropertyWrapper, which is returned by this method.voidwrite(PropertyWrapper filteredSource, PropertyWrapper filteredTarget, OutputStream out)Converts TwoPropertyWrappersPropertys to XLIFF (1.2) translation format, which is written to theOutputStream.
-
-
-
Method Detail
-
read
public PropertyWrapper read(InputStream stream)
Reads an XLIFF (1.2) resource from theInputStream, converts toPropertys, held in aPropertyWrapper, which is returned by this method.- Specified by:
readin interfaceBilingualPropertyResource
-
write
public void write(PropertyWrapper filteredSource, PropertyWrapper filteredTarget, OutputStream out) throws IOException
Converts TwoPropertyWrappersPropertys to XLIFF (1.2) translation format, which is written to theOutputStream.- Specified by:
writein interfaceBilingualPropertyResource- Throws:
IOException
-
-