Package org.jabylon.properties.types
Interface BilingualPropertyResource
-
- All Known Implementing Classes:
XliffResourceImpl
public interface BilingualPropertyResourceBasic converter interface for Bilingual translation resources.
The reference implementation is for XLIFF (1.2). (seeXliffResourceImpl).- Author:
- c.samulski (2016-02-02)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PropertyWrapperread(InputStream stream)Reads an arbitrary translation resource from theInputStream, converts toPropertys, held in aPropertyWrapper, which is returned by this method.
(subject to change, as no implementation exists as of yet)voidwrite(PropertyWrapper source, PropertyWrapper target, OutputStream out)Converts TwoPropertyWrappersPropertys to an arbitrary translation format, which is written to theOutputStream.
-
-
-
Method Detail
-
read
PropertyWrapper read(InputStream stream)
Reads an arbitrary translation resource from theInputStream, converts toPropertys, held in aPropertyWrapper, which is returned by this method.
(subject to change, as no implementation exists as of yet)
-
write
void write(PropertyWrapper source, PropertyWrapper target, OutputStream out) throws IOException
Converts TwoPropertyWrappersPropertys to an arbitrary translation format, which is written to theOutputStream.- Throws:
IOException
-
-