Trebuchet
Trebuchet is a multi-scheme file-transfer API and client library written in Java.
Purpose
The principal aim of this library is to provide an abstraction layer over the standard file-related operations such as directory listing, directory creation, file transfer and file deletion, which allows switching between protocols without alteration of either source code (if used programmatically) or of a script (i.e., Ogrescript). The library is also designed to be extensible so that new protocol support can be added in a reasonably clean way.
Currently, there are two ways in which Trebuchet can be utilized:
- As a normal Java package import (i.e., programmatic calls to the library by other Java code);
- Through the available Ogrescript tasks: see the Ogrescript Trebuchet plugin.