Class PropertiesSourceFormat

  • All Implemented Interfaces:
    StreamSourceFormat

    public final class PropertiesSourceFormat
    extends Object
    implements StreamSourceFormat
    The source type representing an properties source. $Id: PropertiesSourceFormat.java 1855923 2019-03-20 16:19:39Z gk $
    • Constructor Detail

      • PropertiesSourceFormat

        public PropertiesSourceFormat()
    • Method Detail

      • getKey

        public String getKey()
        Returns an unique key for the source type.
        Specified by:
        getKey in interface StreamSourceFormat
        Returns:
        "properties".
      • hashCode

        public int hashCode()
        Returns a hash code of this instance consistent with equals. As all instances of this class are equal to each other, the hash code is always the same.
        Overrides:
        hashCode in class Object
        Returns:
        1.
      • equals

        public boolean equals​(Object other)
        Checks whether other is equal to this instance. All instances of this class are equal to each other.
        Overrides:
        equals in class Object
        Returns:
        true if other is a PropertiesSourceType, false otherwise.