Class NamePatternConverter

    • Constructor Detail

      • NamePatternConverter

        protected NamePatternConverter​(String name,
                                       String style,
                                       String[] options)
        Constructor.
        Parameters:
        name - name of converter.
        style - style name for associated output.
        options - options, may be null, first element will be interpreted as an abbreviation pattern.
    • Method Detail

      • abbreviate

        protected final void abbreviate​(String original,
                                        StringBuilder destination)
        Abbreviate name in string buffer.
        Parameters:
        original - string containing name.
        destination - the StringBuilder to write to