org.infinispan.cli.shell
Class Man2Ansi
java.lang.Object
org.infinispan.cli.shell.Man2Ansi
public class Man2Ansi
- extends Object
A very simple and incomplete converter from troff-style man macro syntax to ansi
- Since:
- 5.2
- Author:
- Tristan Tarrant
Constructor Summary |
Man2Ansi(int screenWidth)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAN_MACRO_REGEX
public static Pattern MAN_MACRO_REGEX
DEFAULT_INDENT
public static int DEFAULT_INDENT
WRAP_WIDTH
public static int WRAP_WIDTH
Man2Ansi
public Man2Ansi(int screenWidth)
render
public String render(InputStream is)
throws IOException
- Throws:
IOException
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.