Package org.eclipse.jgit.lib
Class ConfigLine
- java.lang.Object
-
- org.eclipse.jgit.lib.ConfigLine
-
class ConfigLine extends java.lang.ObjectA line in a GitConfigfile.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.StringincludedFromThe source from which this line was included from.(package private) java.lang.StringnameThe key name.(package private) java.lang.StringprefixThe text content before entry.(package private) java.lang.StringsectionThe section name for the entry.(package private) java.lang.StringsubsectionSubsection name.(package private) java.lang.StringsuffixThe text content after entry.(package private) java.lang.StringvalueThe value.
-
Constructor Summary
Constructors Constructor Description ConfigLine()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static booleaneqIgnoreCase(java.lang.String a, java.lang.String b)private static booleaneqSameCase(java.lang.String a, java.lang.String b)(package private) ConfigLineforValue(java.lang.String newValue)(package private) booleanmatch(java.lang.String aSection, java.lang.String aSubsection)(package private) booleanmatch(java.lang.String aSection, java.lang.String aSubsection, java.lang.String aKey)java.lang.StringtoString()
-
-
-
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.
-
-
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:
toStringin classjava.lang.Object
-
-