public class GrgitSystemReader
extends org.eclipse.jgit.util.SystemReader
| Constructor and Description |
|---|
GrgitSystemReader(org.eclipse.jgit.util.SystemReader delegate,
java.lang.String gitSsh) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkPath(byte[] path) |
void |
checkPath(java.lang.String path) |
org.eclipse.jgit.util.time.MonotonicClock |
getClock() |
long |
getCurrentTime() |
java.text.DateFormat |
getDateTimeInstance(int dateStyle,
int timeStyle) |
java.lang.String |
getenv(java.lang.String variable) |
java.lang.String |
getHostname() |
java.util.Locale |
getLocale() |
java.lang.String |
getProperty(java.lang.String key) |
java.text.SimpleDateFormat |
getSimpleDateFormat(java.lang.String pattern) |
java.text.SimpleDateFormat |
getSimpleDateFormat(java.lang.String pattern,
java.util.Locale locale) |
java.util.TimeZone |
getTimeZone() |
int |
getTimezone(long when) |
static void |
install() |
boolean |
isMacOS() |
boolean |
isWindows() |
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) |
public GrgitSystemReader(org.eclipse.jgit.util.SystemReader delegate,
java.lang.String gitSsh)
public java.lang.String getHostname()
getHostname in class org.eclipse.jgit.util.SystemReaderpublic java.lang.String getenv(java.lang.String variable)
getenv in class org.eclipse.jgit.util.SystemReaderpublic java.lang.String getProperty(java.lang.String key)
getProperty in class org.eclipse.jgit.util.SystemReaderpublic org.eclipse.jgit.storage.file.FileBasedConfig openUserConfig(org.eclipse.jgit.lib.Config parent,
org.eclipse.jgit.util.FS fs)
openUserConfig in class org.eclipse.jgit.util.SystemReaderpublic org.eclipse.jgit.storage.file.FileBasedConfig openSystemConfig(org.eclipse.jgit.lib.Config parent,
org.eclipse.jgit.util.FS fs)
openSystemConfig in class org.eclipse.jgit.util.SystemReaderpublic long getCurrentTime()
getCurrentTime in class org.eclipse.jgit.util.SystemReaderpublic org.eclipse.jgit.util.time.MonotonicClock getClock()
getClock in class org.eclipse.jgit.util.SystemReaderpublic int getTimezone(long when)
getTimezone in class org.eclipse.jgit.util.SystemReaderpublic java.util.TimeZone getTimeZone()
getTimeZone in class org.eclipse.jgit.util.SystemReaderpublic java.util.Locale getLocale()
getLocale in class org.eclipse.jgit.util.SystemReaderpublic java.text.SimpleDateFormat getSimpleDateFormat(java.lang.String pattern)
getSimpleDateFormat in class org.eclipse.jgit.util.SystemReaderpublic java.text.SimpleDateFormat getSimpleDateFormat(java.lang.String pattern,
java.util.Locale locale)
getSimpleDateFormat in class org.eclipse.jgit.util.SystemReaderpublic java.text.DateFormat getDateTimeInstance(int dateStyle,
int timeStyle)
getDateTimeInstance in class org.eclipse.jgit.util.SystemReaderpublic boolean isWindows()
isWindows in class org.eclipse.jgit.util.SystemReaderpublic boolean isMacOS()
isMacOS in class org.eclipse.jgit.util.SystemReaderpublic void checkPath(java.lang.String path)
throws org.eclipse.jgit.errors.CorruptObjectException
checkPath in class org.eclipse.jgit.util.SystemReaderorg.eclipse.jgit.errors.CorruptObjectExceptionpublic void checkPath(byte[] path)
throws org.eclipse.jgit.errors.CorruptObjectException
checkPath in class org.eclipse.jgit.util.SystemReaderorg.eclipse.jgit.errors.CorruptObjectExceptionpublic static void install()