io.github.spair:dmm-io

I/O library for dmm files of default and TGM format.

Лицензия

Лицензия

Группа

Группа

io.github.spair
Идентификатор

Идентификатор

dmm-io
Последняя версия

Последняя версия

1.6
Дата

Дата

Тип

Тип

jar
Описание

Описание

io.github.spair:dmm-io
I/O library for dmm files of default and TGM format.
Ссылка на сайт

Ссылка на сайт

https://spair.github.io/dmm-io
Система контроля версий

Система контроля версий

https://github.com/SpaiR/dmm-io/tree/master

Скачать dmm-io

Как подключить последнюю версию

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

Зависимости

provided (1)

Идентификатор библиотеки Тип Версия
org.projectlombok : lombok jar 1.18.2

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

Модули Проекта

Данный проект не имеет модулей.

Build Status Javadocs License

Dmm I/O

About

I/O library for dmm files of default and TGM format.

Installation

Maven Central JCenter

Library deployed to Maven Central and JCenter repositories.

pom.xml

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

build.gradle:

compile 'io.github.spair:dmm-io:${last.version}'

How To Use

File could be parsed like: DmmData data = DmmReader.readMap(mapFile) The map itself could be in standard BYOND format as well as in TGM, reader will handle everything.

To write DmmData to file use DmmWriter class like that:

DmmWriter.saveAsByond(fileToSave, dmmData)  // to save in BYOND format
DmmWriter.saveAsTGM(fileToSave, dmmData)    // to save in TGM format

If fileToSave doesn't exist it will be created.

More could be found in JavaDoc.

Credits

Some implementation ideas were taken from JMerge repository. Big thanks to @atlantiscze for his work.

Версии библиотеки

Версия
1.6
1.5
1.4
1.3
1.2
1.1
1.0