Package jmri.util

Class FileUtil.Property

  • All Implemented Interfaces:
    java.util.Map.Entry<Profile,​java.lang.String>
    Enclosing class:
    FileUtil

    public static class FileUtil.Property
    extends java.lang.Object
    implements java.util.Map.Entry<Profile,​java.lang.String>
    PropertyChangeEvents for properties that are Profile-specific use a Property to enclose both the Profile and the value of the property.
    • Constructor Summary

      Constructors 
      Constructor Description
      Property​(Profile key, java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Profile getKey()  
      java.lang.String getValue()  
      java.lang.String setValue​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Map.Entry

        equals, hashCode
    • Method Detail

      • getKey

        public Profile getKey()
        Specified by:
        getKey in interface java.util.Map.Entry<Profile,​java.lang.String>
      • getValue

        public java.lang.String getValue()
        Specified by:
        getValue in interface java.util.Map.Entry<Profile,​java.lang.String>
      • setValue

        public java.lang.String setValue​(java.lang.String value)
        Specified by:
        setValue in interface java.util.Map.Entry<Profile,​java.lang.String>