Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.
/ byond-dmi-util Public archive

Set of util classes to work with BYOND dmi files. Deserialization and comparison included.

License

Notifications You must be signed in to change notification settings

SpaiR/byond-dmi-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Set of util classes to work with BYOND dmi files. Deserialization and comparison included.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages