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