Top Description Constructors Methods
org.eclipse.jgit.internal.storage.dfs

public final Class DfsConfig

extends StoredConfig
Class Inheritance
Imports
java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException, org.eclipse.jgit.lib.StoredConfig

Config implementation used by DFS repositories.

The current implementation acts as if there is no persistent storage: loading simply clears the config, and saving does nothing.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
load()

Implements abstract org.eclipse.jgit.lib.StoredConfig.load.

Load the configuration from the persistent store.

public void
save()

Implements abstract org.eclipse.jgit.lib.StoredConfig.save.

Save the configuration to the persistent store.

Inherited from org.eclipse.jgit.lib.StoredConfig:
clear

Constructor Detail

DfsConfigback to summary
public DfsConfig()

Method Detail

loadback to summary
public void load() throws IOException, ConfigInvalidException

Implements abstract org.eclipse.jgit.lib.StoredConfig.load.

Doc from org.eclipse.jgit.lib.StoredConfig.load.

Load the configuration from the persistent store.

If the configuration does not exist, this configuration is cleared, and thus behaves the same as though the backing store exists, but is empty.

Annotations
@Override
Exceptions
IOException:
the configuration could not be read (but does exist).
ConfigInvalidException:
the configuration is not properly formatted.
saveback to summary
public void save() throws IOException

Implements abstract org.eclipse.jgit.lib.StoredConfig.save.

Doc from org.eclipse.jgit.lib.StoredConfig.save.

Save the configuration to the persistent store.

Annotations
@Override
Exceptions
IOException:
the configuration could not be written.