public class FilePicker
extends java.lang.Object
Constructor | Description |
---|---|
FilePicker(com.sun.star.uno.XComponentContext xContext) |
Convenience wrapper class for the UNO file picker service
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getPath() |
Get a user selected path with a file picker
|
java.lang.String[] |
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)
|
public FilePicker(com.sun.star.uno.XComponentContext xContext)
xContext
- the UNO component context from which the file picker can be createdpublic java.lang.String[] getPaths()
public java.lang.String getPath()