Package org.apache.camel.component
Class CustomConfigSystemReader
- java.lang.Object
-
- org.eclipse.jgit.util.SystemReader
-
- org.apache.camel.component.CustomConfigSystemReader
-
public class CustomConfigSystemReader extends org.eclipse.jgit.util.SystemReader
-
-
Constructor Summary
Constructors Constructor Description CustomConfigSystemReader(File userGitConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCurrentTime()
String
getenv(String variable)
String
getHostname()
String
getProperty(String key)
int
getTimezone(long when)
org.eclipse.jgit.storage.file.FileBasedConfig
openJGitConfig(org.eclipse.jgit.lib.Config parent, org.eclipse.jgit.util.FS fs)
org.eclipse.jgit.storage.file.FileBasedConfig
openSystemConfig(org.eclipse.jgit.lib.Config parent, org.eclipse.jgit.util.FS fs)
org.eclipse.jgit.storage.file.FileBasedConfig
openUserConfig(org.eclipse.jgit.lib.Config parent, org.eclipse.jgit.util.FS fs)
-
Methods inherited from class org.eclipse.jgit.util.SystemReader
checkPath, checkPath, getClock, getDateTimeInstance, getDefaultCharset, getInstance, getJGitConfig, getLocale, getSimpleDateFormat, getSimpleDateFormat, getSystemConfig, getTimeZone, getUserConfig, isLinux, isMacOS, isWindows, setInstance, setPlatformChecker
-
-
-
-
Constructor Detail
-
CustomConfigSystemReader
public CustomConfigSystemReader(File userGitConfig)
-
-
Method Detail
-
getenv
public String getenv(String variable)
- Specified by:
getenv
in classorg.eclipse.jgit.util.SystemReader
-
getHostname
public String getHostname()
- Specified by:
getHostname
in classorg.eclipse.jgit.util.SystemReader
-
getProperty
public String getProperty(String key)
- Specified by:
getProperty
in classorg.eclipse.jgit.util.SystemReader
-
getCurrentTime
public long getCurrentTime()
- Specified by:
getCurrentTime
in classorg.eclipse.jgit.util.SystemReader
-
getTimezone
public int getTimezone(long when)
- Specified by:
getTimezone
in classorg.eclipse.jgit.util.SystemReader
-
openUserConfig
public org.eclipse.jgit.storage.file.FileBasedConfig openUserConfig(org.eclipse.jgit.lib.Config parent, org.eclipse.jgit.util.FS fs)
- Specified by:
openUserConfig
in classorg.eclipse.jgit.util.SystemReader
-
openJGitConfig
public org.eclipse.jgit.storage.file.FileBasedConfig openJGitConfig(org.eclipse.jgit.lib.Config parent, org.eclipse.jgit.util.FS fs)
- Specified by:
openJGitConfig
in classorg.eclipse.jgit.util.SystemReader
-
openSystemConfig
public org.eclipse.jgit.storage.file.FileBasedConfig openSystemConfig(org.eclipse.jgit.lib.Config parent, org.eclipse.jgit.util.FS fs)
- Specified by:
openSystemConfig
in classorg.eclipse.jgit.util.SystemReader
-
-