Following the example of the link: https://github.com/vaadin/book-examples/blob/master/src/com/vaadin/book/examples/datamodel/FilesystemContainerExample.java
which maps the contents of a folder in a tree, in my solution passed as
new File
command parameter an existing mapping on the local machine.
tree.setContainerDataSource (new FilesystemContainer (new File ("o:\\")))
On Windows machines work properly, however, on MacOS machines where there is no local mapping, need access this folder via smb or cifs.
But the
new File
command does not accept address
smb://192.168.1.1/folder
I’ve tried using
JCIFS-1.1.11.jar
library that authenticates and finds the folder
However can not assign the
SmbFile
type as the root for
FilesystemContainer
and consequently do not have a
DataSource
for the
tree
.
Does anyone have any idea of using a smb mapping?