public class SVNJNAUtil extends Object
Constructor and Description |
---|
SVNJNAUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
addPasswordToGnomeKeyring(String realm,
String userName,
char[] password,
boolean nonInteractive,
ISVNGnomeKeyringPasswordProvider keyringPasswordProvider) |
static boolean |
addPasswordToMacOsKeychain(String realm,
String userName,
char[] password,
boolean nonInteractive) |
static boolean |
createSymlink(File file,
String linkName) |
static char[] |
decrypt(char[] encryptedData) |
static char[] |
encrypt(char[] rawData) |
static String |
getApplicationDataPath(boolean common) |
static SVNFileType |
getFileType(File file) |
static String |
getLinkTarget(File file) |
static char[] |
getPasswordFromGnomeKeyring(String realm,
String userName,
boolean nonInteractive,
ISVNGnomeKeyringPasswordProvider keyringPasswordProvider) |
static char[] |
getPasswordFromMacOsKeychain(String realm,
String userName,
boolean nonInteractive) |
static Long |
getSymlinkLastModified(File file) |
static Boolean |
isExecutable(File file) |
static boolean |
isGnomeKeyringEnabled() |
static boolean |
isJNAPresent() |
static boolean |
isMacOsKeychainEnabled() |
static boolean |
isWinCryptEnabled() |
static boolean |
moveFile(File src,
File dst) |
static boolean |
setExecutable(File file,
boolean set) |
static boolean |
setHidden(File file) |
static void |
setJNAEnabled(boolean enabled) |
static boolean |
setSGID(File file) |
static boolean |
setWritable(File file) |
public static void setJNAEnabled(boolean enabled)
public static boolean isJNAPresent()
public static SVNFileType getFileType(File file)
public static boolean setExecutable(File file, boolean set)
public static boolean setSGID(File file)
public static boolean setWritable(File file)
public static boolean setHidden(File file)
public static char[] decrypt(char[] encryptedData)
public static char[] encrypt(char[] rawData)
public static boolean addPasswordToMacOsKeychain(String realm, String userName, char[] password, boolean nonInteractive) throws SVNException
SVNException
public static char[] getPasswordFromMacOsKeychain(String realm, String userName, boolean nonInteractive) throws SVNException
SVNException
public static boolean addPasswordToGnomeKeyring(String realm, String userName, char[] password, boolean nonInteractive, ISVNGnomeKeyringPasswordProvider keyringPasswordProvider) throws SVNException
SVNException
public static char[] getPasswordFromGnomeKeyring(String realm, String userName, boolean nonInteractive, ISVNGnomeKeyringPasswordProvider keyringPasswordProvider) throws SVNException
SVNException
public static boolean isWinCryptEnabled()
public static boolean isMacOsKeychainEnabled()
public static boolean isGnomeKeyringEnabled()
public static String getApplicationDataPath(boolean common)
Copyright © 2022. All rights reserved.