Class SVNJNAUtil

java.lang.Object
org.tmatesoft.svn.core.internal.util.jna.SVNJNAUtil

public class SVNJNAUtil extends java.lang.Object
Version:
1.3
  • Field Details

    • ourIsJNAEnabled

      private static boolean ourIsJNAEnabled
    • ourIsJNAPresent

      private static boolean ourIsJNAPresent
    • JNA_CLASS_NAME

      private static final java.lang.String JNA_CLASS_NAME
      See Also:
  • Constructor Details

    • SVNJNAUtil

      public SVNJNAUtil()
  • Method Details

    • 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
    • addPasswordToGnomeKeyring

      public static boolean addPasswordToGnomeKeyring(java.lang.String realm, java.lang.String userName, char[] password, boolean nonInteractive, ISVNGnomeKeyringPasswordProvider keyringPasswordProvider) throws SVNException
      Throws:
      SVNException
    • getPasswordFromGnomeKeyring

      public static char[] getPasswordFromGnomeKeyring(java.lang.String realm, java.lang.String userName, boolean nonInteractive, ISVNGnomeKeyringPasswordProvider keyringPasswordProvider) 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)