Interface PropertyConverter

    • Method Detail

      • write

        int write​(OutputStream out,
                  PropertyFile file,
                  String encoding)
           throws IOException
        serializes the given PropertyFile into the output steam

        The implementation is expected to close the stream upon completion

        The implementation is free to optimize the output by removing empty translations.

        Parameters:
        out -
        file -
        encoding - hint about which encoding to use
        Returns:
        number of translated (non-empty) keys
        Throws:
        IOException