项目作者: TatuLund

项目描述 :
FilesystemDataProvider is a data model add-on for Vaadin 10/14 (Flow) providing hierarchical data of the ftp and filesystem, including File select components.
高级语言: Java
项目地址: git://github.com/TatuLund/filesystem-dataprovider-flow.git
创建时间: 2019-12-25T11:08:55Z
项目社区:https://github.com/TatuLund/filesystem-dataprovider-flow

开源协议:Other

下载


FilesystemDataProvider

FilesystemDataProvider is a data model add-on for Vaadin 23(Flow) providing hierarchical
data of the filesystem, and it can be used to supply it to Tree and TreeGrid components.
This is fully server side add-on.

The inspiration of this add-on is to provide similar functionality than Vaadin 7’s
built in FilesystemContainer had. Hence it is useful for Vaadin 7 -> Vaadin 23 migration projects.

Components

  • FilesystemDataProvider: Data provider wrapper of the filesystem

  • FileSelect: Field UI component that allows selecting a single file, value is File

  • MultiFileSelect: Field UI component that allows selecting multiple files, value is Set

  • FtpDataProvider: Data provider wrapper of the FTP client, uses appache commons ftp

  • FtpSelect: Field UI component that acts as FTP client, value is FtpFile

  • FtpFile: Extended FTPFile, that implements Comparable, so that it works with Vaadin’s DataProvider API’s.

Development instructions

Starting the test/demo server:

  1. Run mvn jetty:run.
  2. Open http://localhost:8080 in the browser.

Publishing to Vaadin Directory

You can create the zip package needed for Vaadin Directory using

  1. mvn versions:set -DnewVersion=1.0.0 # You cannot publish snapshot versions
  2. mvn install -Pdirectory

The package is created as target/filesystemdataprovider-1.0.0.zip

For more information or to upload the package, visit https://vaadin.com/directory/my-components?uploadNewComponent

History

Version 3.1.0

  • Fixed icons to be compatible with Vaadin 21 and newer

Version 3.0.0

  • Build against Vaadin 18

Version 2.1.0

  • Add FTP variants

Version 2.0.0

  • First release for Vaadin 10+