Java Doc for JNIWindowsShortcut.java in  » Installer » VAInstall » com » memoire » vainstall » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Installer » VAInstall » com.memoire.vainstall 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.memoire.vainstall.JNIWindowsShortcut

JNIWindowsShortcut
public class JNIWindowsShortcut (Code)
A means of creating Windows shortcuts using the JNI interface.
author:
   Dick Repasky


Field Summary
final public static  intCUSTOM_LOCATION
     Value for location.
final public static  intEVERYBODY
     Value for forwhom.
public static  StringLIB_NAME
     Name of dll.
final public static  intON_DESKTOP
     Value for location.
final public static  intON_START_MENU
     Value for location.
final public static  intSHOW_MAX
     Value for openas.
final public static  intSHOW_MIN
     Value for openas.
final public static  intSHOW_NORMAL
     Value for openas.
final public static  intUSER_ONLY
     Value for forwhom.
public static  booleanisDllLoaded_
    


Method Summary
final public static  StringcreateShortcut(String targetname, String workingdir, String args, int openas, String linkname, int location, int forwhom, String iconfile, int iconoffset, String description)
     Create a Windows Shortcut using the information provided.
final public static  intgetMaxPathlength()
     Return maximum allowable Win32 path length (i.e., value of the constant MAX_PATH).
final public static  StringgetShortcutDir(int location, int forwhom)
     Return the name of the directory that would contain a link of the type give.
final public static  StringgetShortcutName(String linkname, int location, int forwhom)
     Return the name of the shortcut that would be created if the following arguments were used.
public static  voidloadLib()
    

Field Detail
CUSTOM_LOCATION
final public static int CUSTOM_LOCATION(Code)
Value for location. If you use this value, the value of linkname should include the full name of the directory that will contain the new link.



EVERYBODY
final public static int EVERYBODY(Code)
Value for forwhom.



LIB_NAME
public static String LIB_NAME(Code)
Name of dll.



ON_DESKTOP
final public static int ON_DESKTOP(Code)
Value for location.



ON_START_MENU
final public static int ON_START_MENU(Code)
Value for location.



SHOW_MAX
final public static int SHOW_MAX(Code)
Value for openas.



SHOW_MIN
final public static int SHOW_MIN(Code)
Value for openas.



SHOW_NORMAL
final public static int SHOW_NORMAL(Code)
Value for openas.



USER_ONLY
final public static int USER_ONLY(Code)
Value for forwhom.



isDllLoaded_
public static boolean isDllLoaded_(Code)





Method Detail
createShortcut
final public static String createShortcut(String targetname, String workingdir, String args, int openas, String linkname, int location, int forwhom, String iconfile, int iconoffset, String description) throws IOException(Code)
Create a Windows Shortcut using the information provided.



getMaxPathlength
final public static int getMaxPathlength()(Code)
Return maximum allowable Win32 path length (i.e., value of the constant MAX_PATH).



getShortcutDir
final public static String getShortcutDir(int location, int forwhom)(Code)
Return the name of the directory that would contain a link of the type give.



getShortcutName
final public static String getShortcutName(String linkname, int location, int forwhom) throws IOException(Code)
Return the name of the shortcut that would be created if the following arguments were used. Arguments are as for createShortcut.
exception:
  java.io.IOException - if full path name islonger than maximum allowed.



loadLib
public static void loadLib()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.