Class ConfigLine


  • class ConfigLine
    extends java.lang.Object
    A line in a Git Config file.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String includedFrom
      The source from which this line was included from.
      (package private) java.lang.String name
      The key name.
      (package private) java.lang.String prefix
      The text content before entry.
      (package private) java.lang.String section
      The section name for the entry.
      (package private) java.lang.String subsection
      Subsection name.
      (package private) java.lang.String suffix
      The text content after entry.
      (package private) java.lang.String value
      The value.
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigLine()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static boolean eqIgnoreCase​(java.lang.String a, java.lang.String b)  
      private static boolean eqSameCase​(java.lang.String a, java.lang.String b)  
      (package private) ConfigLine forValue​(java.lang.String newValue)  
      (package private) boolean match​(java.lang.String aSection, java.lang.String aSubsection)  
      (package private) boolean match​(java.lang.String aSection, java.lang.String aSubsection, java.lang.String aKey)  
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • prefix

        java.lang.String prefix
        The text content before entry.
      • section

        java.lang.String section
        The section name for the entry.
      • subsection

        java.lang.String subsection
        Subsection name.
      • name

        java.lang.String name
        The key name.
      • value

        java.lang.String value
        The value.
      • suffix

        java.lang.String suffix
        The text content after entry.
      • includedFrom

        java.lang.String includedFrom
        The source from which this line was included from.
    • Constructor Detail

      • ConfigLine

        ConfigLine()
    • Method Detail

      • forValue

        ConfigLine forValue​(java.lang.String newValue)
      • match

        boolean match​(java.lang.String aSection,
                      java.lang.String aSubsection,
                      java.lang.String aKey)
      • match

        boolean match​(java.lang.String aSection,
                      java.lang.String aSubsection)
      • eqIgnoreCase

        private static boolean eqIgnoreCase​(java.lang.String a,
                                            java.lang.String b)
      • eqSameCase

        private static boolean eqSameCase​(java.lang.String a,
                                          java.lang.String b)
      • toString

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