Class MFParser


  • @Deprecated
    public class MFParser
    extends Object
    Deprecated.
    This API is for technology preview only.
    This class parses a MessageFormat 2 syntax into a data model MFDataModel.Message.

    It is used by MessageFormatter, but it might be handy for various tools.

    Status:
    Technology Preview. This API is still in the early stages of development. Use at your own risk.
    • Method Detail

      • parse

        @Deprecated
        public static MFDataModel.Message parse​(String input)
                                         throws MFParseException
        Deprecated.
        This API is for technology preview only.
        Parses a MessageFormat 2 syntax into a MFDataModel.Message.

        It is used by MessageFormatter, but it might be handy for various tools.

        Parameters:
        input - the text to parse
        Returns:
        the parsed MFDataModel.Message
        Throws:
        MFParseException - if errors are detected
        Status:
        Technology Preview. This API is still in the early stages of development. Use at your own risk.