Class FilePicker
java.lang.Object
org.openoffice.da.comp.w2lcommon.helper.FilePicker
-
Constructor Summary
ConstructorsConstructorDescriptionFilePicker
(com.sun.star.uno.XComponentContext xContext) Convenience wrapper class for the UNO file picker service -
Method Summary
-
Constructor Details
-
FilePicker
public FilePicker(com.sun.star.uno.XComponentContext xContext) Convenience wrapper class for the UNO file picker service- Parameters:
xContext
- the UNO component context from which the file picker can be created
-
-
Method Details
-
getPaths
Get one or more user selected paths with a file picker Warning: This does not work on all platforms when using native file pickers (but always when using Office file pickers)- Returns:
- array containing the path URLs or null if the dialog is canceled
-
getPath
Get a user selected path with a file picker- Returns:
- the path URL or null if the dialog is canceled
-