Top Description Fields Constructors Methods
org.eclipse.jgit.lib

pack-priv Class ConfigLine

extends Object
Class Inheritance
Imports
org.eclipse.jgit.util.StringUtils

A line in a Git Config file.

Field Summary

Modifier and TypeField and Description
pack-priv String
includedFrom

The source from which this line was included from.

pack-priv String
name

The key name.

pack-priv String
prefix

The text content before entry.

pack-priv String
section

The section name for the entry.

pack-priv String
subsection

Subsection name.

pack-priv String
suffix

The text content after entry.

pack-priv String
value

The value.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static boolean
private static boolean
pack-priv ConfigLine
forValue(String newValue)

pack-priv boolean
match(final String aSection, final String aSubsection, final String aKey)

pack-priv boolean
match(String aSection, String aSubsection)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

includedFromback to summary
pack-priv String includedFrom

The source from which this line was included from.

nameback to summary
pack-priv String name

The key name.

prefixback to summary
pack-priv String prefix

The text content before entry.

sectionback to summary
pack-priv String section

The section name for the entry.

subsectionback to summary
pack-priv String subsection

Subsection name.

suffixback to summary
pack-priv String suffix

The text content after entry.

valueback to summary
pack-priv String value

The value.

Constructor Detail

ConfigLineback to summary
pack-priv ConfigLine()

Method Detail

eqIgnoreCaseback to summary
private static boolean eqIgnoreCase(String a, String b)
eqSameCaseback to summary
private static boolean eqSameCase(String a, String b)
forValueback to summary
pack-priv ConfigLine forValue(String newValue)
matchback to summary
pack-priv boolean match(final String aSection, final String aSubsection, final String aKey)
matchback to summary
pack-priv boolean match(String aSection, String aSubsection)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@SuppressWarnings:nls
@Override