io.github.spair:byond-dmi-util

Small set of util classes to work with BYOND dmi files.

License

License

GroupId

GroupId

io.github.spair
ArtifactId

ArtifactId

byond-dmi-util
Last Version

Last Version

2.1
Release Date

Release Date

Type

Type

jar
Description

Description

io.github.spair:byond-dmi-util
Small set of util classes to work with BYOND dmi files.
Project URL

Project URL

https://spair.github.io/byond-dmi-util
Source Code Management

Source Code Management

https://github.com/SpaiR/byond-dmi-util/tree/master

Download byond-dmi-util

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.spair/byond-dmi-util/ -->
<dependency>
    <groupId>io.github.spair</groupId>
    <artifactId>byond-dmi-util</artifactId>
    <version>2.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.spair/byond-dmi-util/
implementation 'io.github.spair:byond-dmi-util:2.1'
// https://jarcasting.com/artifacts/io.github.spair/byond-dmi-util/
implementation ("io.github.spair:byond-dmi-util:2.1")
'io.github.spair:byond-dmi-util:jar:2.1'
<dependency org="io.github.spair" name="byond-dmi-util" rev="2.1">
  <artifact name="byond-dmi-util" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.spair', module='byond-dmi-util', version='2.1')
)
libraryDependencies += "io.github.spair" % "byond-dmi-util" % "2.1"
[io.github.spair/byond-dmi-util "2.1"]

Dependencies

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.2

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-all jar 1.10.19

Project Modules

There are no modules declared in this project.

Build Status Javadocs License

BYOND Dmi Util

About

Set of util classes to work with BYOND dmi files.

Installation

Maven Central JCenter

Library deployed to Maven Central and JCenter repositories.

pom.xml

<dependency>
    <groupId>io.github.spair</groupId>
    <artifactId>byond-dmi-util</artifactId>
    <version>${last.version}</version>
</dependency>

build.gradle:

compile 'io.github.spair:byond-dmi-util:${last.version}'

How To Use

DmiSlurper

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.

DmiComparator

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.

Versions

Version
2.1
2.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5.2
1.0.5.1
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0