https://github.com/mrgraversen/trunk
Trunk is an opinionated Java library consisting of classes I find useful for general purpose development.
https://github.com/mrgraversen/trunk
Last synced: 12 months ago
JSON representation
Trunk is an opinionated Java library consisting of classes I find useful for general purpose development.
- Host: GitHub
- URL: https://github.com/mrgraversen/trunk
- Owner: MrGraversen
- License: mit
- Created: 2018-03-16T21:56:09.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T00:41:23.000Z (over 3 years ago)
- Last Synced: 2025-03-24T01:47:40.858Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 143 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Trunk
[](https://jitpack.io/#MrGraversen/Trunk)
[](https://app.codeship.com/projects/281908)
A growing collection of classes I've written and found useful in any degree. I'm (going to be) using this as a base toolbox for most projects; perhaps you may find it of use as well.
## Installation
You may use JitPack to install this from the GitHub releases.
Add the following to your `pom.xml` if using Maven (click the little JitPack badge for other build systems):
```
jitpack.io
https://jitpack.io
```
```
com.github.MrGraversen
Trunk
LATEST
```
## Packages
### `console`
Utilities related to console in- and output.
### `fx`
Helps mending some JavaFX pain.
### `hardware`
Handles aggregation of hardware-related information, using the [OSHI project](https://github.com/oshi/oshi).
### `hashing`
Some wrappers of the `java.security` functionality.
### `instrumentation`
Measure code execution with simple instrumentation.
### `io`
Anything related to IO; also serialisation. Wrapping of `java.nio` to allow for more ease-of-use.
#### `serialization`
Exposing JSON, XML, and YAML serialization using Google GSON and Jackson.
### `mapper`
Opinionated packaging of `org.modelmapper`, with additional util.
### `network`
Utilities for aiding web frameworks etc.
### `objects`
Additional helpers for working with common types.
### `os`
*"Write once, run anywhere"* - but provide no easy way of determining the underlying operating system. That's fixed now.
### `password`
Password generator utils, also exposes password strength estimation using [Dropbox' Low-Budget Password Strength Estimation algorithms](https://github.com/dropbox/zxcvbn).
Also has BCrypt functionality, including an check-and-update method, for all your Moore's law scalability needs!
### `random`
Generate random stuff, even using `/dev/urandom` if you're on \*nix systems!
### `reflection`
Tools related to Java reflection techniques.
### `sql`
Lessening the pain of working with connection strings etc.
## Dependencies
This module also serves as a easy way of bundling together commonly-used dependencies, such as:
* org.mindrot.jbcrypt
* com.google.code.gson.gson
* org.apache.commons.commons-lang3
* commons-codec.commons-codec
* com.google.guava
* org.modelmapper
Uses JUnit 5.