Class AbstractImportFormat

    • Constructor Detail

      • AbstractImportFormat

        protected AbstractImportFormat()
      • AbstractImportFormat

        public AbstractImportFormat​(java.lang.String pattern,
                                    java.util.Locale locale)
    • Method Detail

      • getPattern

        public java.lang.String getPattern()
        Specified by:
        getPattern in interface ImportFormat
        Returns:
        pattern for the imported format
      • setPattern

        public void setPattern​(java.lang.String pattern)
      • getLocale

        public java.util.Locale getLocale()
        Specified by:
        getLocale in interface ImportFormat
        Returns:
        locale that will be used along with the given pattern
        See Also:
        Locale
      • setLocale

        public void setLocale​(java.util.Locale locale)
      • getLabel

        public java.lang.String getLabel()
        Specified by:
        getLabel in interface ImportFormat
        Returns:
        label used by UI to display the format
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getTooltip

        public java.lang.String getTooltip()
        Specified by:
        getTooltip in interface ImportFormat
        Returns:
        tooltip used by UI to display the format's hint
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object