Fixed #6 allowing setLibraryLocation(File) to use a File object.

git-svn-id: http://jintellitype.googlecode.com/svn/trunk@28 46e98894-136e-cd33-ffd5-f4f03a221aa8
This commit is contained in:
mellowaredev@gmail.com
2012-01-30 12:40:02 +00:00
parent 5506763b91
commit f8da34c515

View File

@@ -383,6 +383,17 @@ public final class JIntellitype implements JIntellitypeConstants {
}
}
/**
* Sets the libraryLocation of the DLL using a File object.
* <p>
* @param libraryFile the java.io.File representing the DLL
*/
public static void setLibraryLocation(File libraryFile) {
if (!libraryFile.isAbsolute()) {
JIntellitype.libraryLocation = libraryFile.getAbsolutePath();
}
}
/**
* Notifies all listeners that Hotkey was pressed.
* <p>