Class SVNJNAUtil
java.lang.Object
org.tmatesoft.svn.core.internal.util.jna.SVNJNAUtil
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static booleanprivate static boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddPasswordToGnomeKeyring(String realm, String userName, char[] password, boolean nonInteractive, ISVNGnomeKeyringPasswordProvider keyringPasswordProvider) static booleanaddPasswordToMacOsKeychain(String realm, String userName, char[] password, boolean nonInteractive) static booleancreateSymlink(File file, String linkName) static char[]decrypt(char[] encryptedData) static char[]encrypt(char[] rawData) static StringgetApplicationDataPath(boolean common) static SVNFileTypegetFileType(File file) static StringgetLinkTarget(File file) static char[]getPasswordFromGnomeKeyring(String realm, String userName, boolean nonInteractive, ISVNGnomeKeyringPasswordProvider keyringPasswordProvider) static char[]getPasswordFromMacOsKeychain(String realm, String userName, boolean nonInteractive) static LonggetSymlinkLastModified(File file) static BooleanisExecutable(File file) static booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleansetExecutable(File file, boolean set) static booleanstatic voidsetJNAEnabled(boolean enabled) static booleanstatic booleansetWritable(File file)
-
Field Details
-
ourIsJNAEnabled
private static boolean ourIsJNAEnabled -
ourIsJNAPresent
private static boolean ourIsJNAPresent -
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
-
isExecutable
-
getLinkTarget
-
setExecutable
-
setSGID
-
createSymlink
-
getSymlinkLastModified
-
setWritable
-
setHidden
-
moveFile
-
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
-