All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.daisy.dotify.cli.DotifyCLI Maven / Gradle / Ivy

There is a newer version: 3.2.5
Show newest version
package org.daisy.dotify.cli;

import org.daisy.braille.ui.BasicUI;
import org.daisy.dotify.SystemProperties;

public class DotifyCLI extends BasicUI {

	public DotifyCLI(String[] args) {
		super(args);
		putCommand("convert", "Converts a document into braille with Dotify", Main.class);
		putCommand("translate", "Translates text on system in to braille on system out", TranslateCLI.class);
	}
	
	@Override
	public String getName() {
		return "dotify";
	}
	
	@Override
	public String getDescription() {
		return "Provides translation and formatting of documents into braille as well as tools for managing PEF-files.";
	}

	@Override
	public String getVersion() {
		return SystemProperties.SYSTEM_RELEASE;
	}
	
	@Override
	public String getBuildIdentifier() {
		return SystemProperties.SYSTEM_BUILD;
	}
	
	public static void main(String[] args) throws Exception {
		DotifyCLI ui = new DotifyCLI(args);
		ui.run();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy