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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user