File Extension: .ubo
API Language: Java 17
Assuming you use gradle.
- In
build.gradle, define the repository as follows:repositories { // ... maven { url 'https://jitpack.io' } }
- Then, in
build.gradle, define the dependency:dependencies { implementation 'com.github.Ultreon:ultreon-data:0.1.0' }
- We can now proceed to the using section. The
DataIoclass is capable of reading and writing UBO data.
Example:import com.ultreon.data.DataIo; import com.ultreon.data.types.MapType; import java.io.File; public class DataTest { public static void main(String[] args) { MapType type = new MapType(); type.putString("greetings", "Hello World"); DataIo.write(type, new File("data.ubo")); } }
- You can now build it. You can change the example in step 3 to suit your needs.
Here's the jitpack listing for the current versions and builds you can use.