java.lang.Object
org.elasticsearch.nativeaccess.WindowsFunctions
Native functions specific to the Windows operating system.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Windows callback for console events -
Method Summary
Modifier and TypeMethodDescriptionboolean
Adds a Console Ctrl Handler for Windows.getShortPathName
(String path) Retrieves the short path form of the specified path.
-
Method Details
-
getShortPathName
Retrieves the short path form of the specified path.- Parameters:
path
- the path- Returns:
- the short path name, or the original path name if unsupported or unavailable
-
addConsoleCtrlHandler
Adds a Console Ctrl Handler for Windows. On non-windows this is a noop.- Returns:
- true if the handler is correctly set
-