Package com.sun.jna.platform.win32
Class Ole32Util
- java.lang.Object
-
- com.sun.jna.platform.win32.Ole32Util
-
public abstract class Ole32Util extends Object
Ole32 Utility API.- Author:
- dblock[at]dblock.org
-
-
Constructor Summary
Constructors Constructor Description Ole32Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Guid.GUID
generateGUID()
Generate a new GUID.static Guid.GUID
getGUIDFromString(String guidString)
Convert a string to a GUID.static String
getStringFromGUID(Guid.GUID guid)
Convert a GUID into a string.
-
-
-
Method Detail
-
getGUIDFromString
public static Guid.GUID getGUIDFromString(String guidString)
Convert a string to a GUID.- Parameters:
guidString
- String representation of a GUID, including { }.- Returns:
- A GUID.
-
getStringFromGUID
public static String getStringFromGUID(Guid.GUID guid)
Convert a GUID into a string.- Parameters:
guid
- GUID.- Returns:
- String representation of a GUID.
-
generateGUID
public static Guid.GUID generateGUID()
Generate a new GUID.- Returns:
- New GUID.
-
-