net.ranides.assira.text
Class PrintFormatter

java.lang.Object
  extended by net.ranides.assira.text.PrintFormatter

public class PrintFormatter
extends Object

Author:
ranides

Constructor Summary
PrintFormatter(Map<Character,PrintFunction> functions)
           
 
Method Summary
 PrintPattern compile(String format)
           
 String format(String format, Object... arguments)
           
 Appendable formatTo(Appendable target, String format, Object... arguments)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintFormatter

public PrintFormatter(Map<Character,PrintFunction> functions)
Method Detail

formatTo

public Appendable formatTo(Appendable target,
                           String format,
                           Object... arguments)
                    throws IOException
Throws:
IOException

format

public String format(String format,
                     Object... arguments)

compile

public PrintPattern compile(String format)


Copyright © 2013. All Rights Reserved.