walkmod-rawfiles-plugin

Writer and walker to process plain text files

Лицензия

Лицензия

Группа

Группа

org.walkmod
Идентификатор

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

walkmod-rawfiles-plugin
Последняя версия

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

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

walkmod-rawfiles-plugin
Writer and walker to process plain text files
Ссылка на сайт

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

https://github.com/rpau/walkmod-rawfiles-plugin
Система контроля версий

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

https://github.com/rpau/walkmod-rawfiles-plugin.git

Скачать walkmod-rawfiles-plugin

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

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

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.walkmod : walkmod-core jar [2.1.0, 3.0.0)

test (1)

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

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

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

walkmod-rawfiles-plugin

Walkmod plugin to process raw files (without parsing).

Usage

Specifically, this plugin allows to work with the string content of a file. Specifically, it has been designed to rewrite files for an specific platform (e.g unix, mac or windows) and thus, work with an specific an endline char (\n, \r or \r\n).

In order to use this plugin from a project where you would like to run walkmod, you just need to add:

1) The plugin declaration

<!DOCTYPE walkmod PUBLIC "-//WALKMOD//DTD"  "http://www.walkmod.com/dtd/walkmod-1.1.dtd" >
<walkmod>
  <plugins>
    <plugin groupId="org.walkmod" artifactId="walkmod-rawfiles-plugin" version="[1.0, )" />
  </plugins>
  ...
</walkmod>

2) The configuration provider specifying your classpath (the project .classes and the dependencies)

<!DOCTYPE walkmod PUBLIC "-//WALKMOD//DTD"  "http://www.walkmod.com/dtd/walkmod-1.1.dtd" >
<walkmod>
  ...
  <chain name="rawfiles">
    <reader path="src/main/java"/>
    <walker type="rawfiles:walker" />
    <writer type="rawfiles:writer" path="src/main/java">
       <param name="platform">unix</param>
    </writer>
    </writer>
  </chain>
  ...
</walkmod>

Contributing

If you want to hack on this, fork it, improve it and send me a pull request.

To get started using it, just clone it and call mvn install.

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

Версия
1.0.0