Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.cli.shell
Class Man2Ansi

java.lang.Object
  extended by 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

Field Summary
static int DEFAULT_INDENT
           
static Pattern MAN_MACRO_REGEX
           
static int WRAP_WIDTH
           
 
Constructor Summary
Man2Ansi(int screenWidth)
           
 
Method Summary
 String render(InputStream is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAN_MACRO_REGEX

public static Pattern MAN_MACRO_REGEX

DEFAULT_INDENT

public static int DEFAULT_INDENT

WRAP_WIDTH

public static int WRAP_WIDTH
Constructor Detail

Man2Ansi

public Man2Ansi(int screenWidth)
Method Detail

render

public String render(InputStream is)
              throws IOException
Throws:
IOException

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.