Set of util classes to work with BYOND dmi files.
Library deployed to Maven Central and JCenter repositories.
<dependency>
<groupId>io.github.spair</groupId>
<artifactId>byond-dmi-util</artifactId>
<version>${last.version}</version>
</dependency>
compile 'io.github.spair:byond-dmi-util:${last.version}'
Class used to deserialize .dmi
file.
slurpUp(final File dmiFile)
- from file.slurpUp(final String dmiName, final String base64content)
- from base64.slurpUp(final String dmiName, final InputStream input)
- from any input stream.As a result of deserialization Dmi
object returns.
Class used to compare two dmi’s and show difference between them.
compare(@Nullable final Dmi oldDmi, @Nullable final Dmi newDmi)
As a result of comparison DmiDiff
object returns.
More could be found in JavaDoc.