Class GrgitSystemReader


  • public class GrgitSystemReader
    extends org.eclipse.jgit.util.SystemReader
    • Constructor Summary

      Constructors 
      Constructor Description
      GrgitSystemReader​(org.eclipse.jgit.util.SystemReader delegate, java.lang.String gitSsh)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      int getTimezone​(long when)  
      java.util.TimeZone getTimeZone()  
      static void install()  
      boolean isMacOS()  
      boolean isWindows()  
      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

        getDefaultCharset, getInstance, getJGitConfig, getSystemConfig, getUserConfig, getXdgConfigDirectory, isLinux, isPerformanceTraceEnabled, setInstance, setPlatformChecker
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GrgitSystemReader

        public GrgitSystemReader​(org.eclipse.jgit.util.SystemReader delegate,
                                 java.lang.String gitSsh)
    • Method Detail

      • getHostname

        public java.lang.String getHostname()
        Specified by:
        getHostname in class org.eclipse.jgit.util.SystemReader
      • getenv

        public java.lang.String getenv​(java.lang.String variable)
        Specified by:
        getenv in class org.eclipse.jgit.util.SystemReader
      • getProperty

        public java.lang.String getProperty​(java.lang.String key)
        Specified by:
        getProperty in class org.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 class org.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 class org.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 class org.eclipse.jgit.util.SystemReader
      • getCurrentTime

        public long getCurrentTime()
        Specified by:
        getCurrentTime in class org.eclipse.jgit.util.SystemReader
      • getClock

        public org.eclipse.jgit.util.time.MonotonicClock getClock()
        Overrides:
        getClock in class org.eclipse.jgit.util.SystemReader
      • getTimezone

        public int getTimezone​(long when)
        Specified by:
        getTimezone in class org.eclipse.jgit.util.SystemReader
      • getTimeZone

        public java.util.TimeZone getTimeZone()
        Overrides:
        getTimeZone in class org.eclipse.jgit.util.SystemReader
      • getLocale

        public java.util.Locale getLocale()
        Overrides:
        getLocale in class org.eclipse.jgit.util.SystemReader
      • getSimpleDateFormat

        public java.text.SimpleDateFormat getSimpleDateFormat​(java.lang.String pattern)
        Overrides:
        getSimpleDateFormat in class org.eclipse.jgit.util.SystemReader
      • getSimpleDateFormat

        public java.text.SimpleDateFormat getSimpleDateFormat​(java.lang.String pattern,
                                                              java.util.Locale locale)
        Overrides:
        getSimpleDateFormat in class org.eclipse.jgit.util.SystemReader
      • getDateTimeInstance

        public java.text.DateFormat getDateTimeInstance​(int dateStyle,
                                                        int timeStyle)
        Overrides:
        getDateTimeInstance in class org.eclipse.jgit.util.SystemReader
      • isWindows

        public boolean isWindows()
        Overrides:
        isWindows in class org.eclipse.jgit.util.SystemReader
      • isMacOS

        public boolean isMacOS()
        Overrides:
        isMacOS in class org.eclipse.jgit.util.SystemReader
      • checkPath

        public void checkPath​(java.lang.String path)
                       throws org.eclipse.jgit.errors.CorruptObjectException
        Overrides:
        checkPath in class org.eclipse.jgit.util.SystemReader
        Throws:
        org.eclipse.jgit.errors.CorruptObjectException
      • checkPath

        public void checkPath​(byte[] path)
                       throws org.eclipse.jgit.errors.CorruptObjectException
        Overrides:
        checkPath in class org.eclipse.jgit.util.SystemReader
        Throws:
        org.eclipse.jgit.errors.CorruptObjectException
      • install

        public static void install()