Introduction
This is the part of the Sirius Java Client responsible for core operations like:
- File system operations
- Process manipulation
- System information manipulation
Project Documentation
Resource | Description |
---|---|
Project Documentation Home Page | The home page for generated Maven site containing major technical documentation for the module |
Project Reports Page | The home page for generated Maven site containing major analysis reports for the module |
Project Javadoc Page | The home page for generated Maven site containing major Javadoc documentation for the module |
Installation
The core client library is delivered in 2 ways:
-
Self-contained Java library provided as jar file. It can be taken from downloads page. All we need to do is just unpack the archive and include appropriate jar file into the project.
-
Maven dependencies. Each client module is also published to Maven repository. The list of available modules can be found on the following page. So, if we have Maven project where we’d like to use Sirius Java client libraries we should update Maven script with the entry like this:
| <dependency>
<groupId>com.github.mkolisnyk</groupId>
<artifactId>sirius.client.core</artifactId>
<version>LATEST</version>
</dependency>
|
or any similar for all the modules we’d like to include.
Usage Sample
After that we can use library classes, e.g:
| import org.sirius.client.core.system.dir.DirectoryOperationsProxy;
...
DirectoryOperationsProxy proxy = new DirectoryOperationsProxy();
proxy.create("TestFolder");
|
Releases
All available client modules can be found at the Maven repository.
Links
Authors
Myk Kolisnyk (kolesnik.nickolay@gmail.com)