Filestores
Overview
Filestore Adapters are simple Java libraries containing classes that implement the com.kineticdata.filehub.adapter.FilestoreAdapter
and com.kineticdata.filehub.adapter.Document
interfaces. The easiest way to get started authoring your own Filestore Adapters it to copy the source code for one of the existing adapters (the Local Adapter Github Repository is a good, simple example that includes the Netbeans project files used to develop it).
In addition to implementing the FilestoreAdapter and Document interfaces, the library must have a META-INF/adapters/com.kineticdata.filehub.adapter.FilestoreAdapter
file present that includes one or more lines for the name of the FilestoreAdapter implementing class. The Platform scans the classpath for these files, reads the contents, and uses them to build up the Filestore Adapter list. Here are example contents from the LocalFilestoreAdapter:
com.kineticdata.filehub.adapters.local.LocalFilestoreAdapter
Updated 5 months ago