Class SVNJNAUtil

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

public class SVNJNAUtil extends Object
Version:
1.3
  • Field Details

    • ourIsJNAEnabled

      private static boolean ourIsJNAEnabled
    • ourIsJNAPresent

      private static boolean ourIsJNAPresent
    • JNA_CLASS_NAME

      private static final 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(File file)
    • isExecutable

      public static Boolean isExecutable(File file)
    • getLinkTarget

      public static String getLinkTarget(File file)
    • setExecutable

      public static boolean setExecutable(File file, boolean set)
    • setSGID

      public static boolean setSGID(File file)
    • createSymlink

      public static boolean createSymlink(File file, String linkName)
    • getSymlinkLastModified

      public static Long getSymlinkLastModified(File file)
    • setWritable

      public static boolean setWritable(File file)
    • setHidden

      public static boolean setHidden(File file)
    • moveFile

      public static boolean moveFile(File src, File dst)
    • decrypt

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

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

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

      public static char[] getPasswordFromMacOsKeychain(String realm, String userName, boolean nonInteractive) throws SVNException
      Throws:
      SVNException
    • addPasswordToGnomeKeyring

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

      public static char[] getPasswordFromGnomeKeyring(String realm, 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 String getApplicationDataPath(boolean common)