Class SVNJNAUtil


  • public class SVNJNAUtil
    extends java.lang.Object
    Version:
    1.3
    Author:
    TMate Software Ltd.
    • Constructor Detail

      • SVNJNAUtil

        public SVNJNAUtil()
    • Method Detail

      • setJNAEnabled

        public static void setJNAEnabled​(boolean enabled)
      • isJNAPresent

        public static boolean isJNAPresent()
      • getFileType

        public static SVNFileType getFileType​(java.io.File file)
      • isExecutable

        public static java.lang.Boolean isExecutable​(java.io.File file)
      • getLinkTarget

        public static java.lang.String getLinkTarget​(java.io.File file)
      • setExecutable

        public static boolean setExecutable​(java.io.File file,
                                            boolean set)
      • setSGID

        public static boolean setSGID​(java.io.File file)
      • createSymlink

        public static boolean createSymlink​(java.io.File file,
                                            java.lang.String linkName)
      • getSymlinkLastModified

        public static java.lang.Long getSymlinkLastModified​(java.io.File file)
      • setWritable

        public static boolean setWritable​(java.io.File file)
      • setHidden

        public static boolean setHidden​(java.io.File file)
      • moveFile

        public static boolean moveFile​(java.io.File src,
                                       java.io.File dst)
      • decrypt

        public static char[] decrypt​(char[] encryptedData)
      • encrypt

        public static char[] encrypt​(char[] rawData)
      • addPasswordToMacOsKeychain

        public static boolean addPasswordToMacOsKeychain​(java.lang.String realm,
                                                         java.lang.String userName,
                                                         char[] password,
                                                         boolean nonInteractive)
                                                  throws SVNException
        Throws:
        SVNException
      • getPasswordFromMacOsKeychain

        public static char[] getPasswordFromMacOsKeychain​(java.lang.String realm,
                                                          java.lang.String userName,
                                                          boolean nonInteractive)
                                                   throws SVNException
        Throws:
        SVNException
      • isWinCryptEnabled

        public static boolean isWinCryptEnabled()
      • isMacOsKeychainEnabled

        public static boolean isMacOsKeychainEnabled()
      • isGnomeKeyringEnabled

        public static boolean isGnomeKeyringEnabled()
      • getApplicationDataPath

        public static java.lang.String getApplicationDataPath​(boolean common)