org.objectweb.jac.aspects.gui
Class TemplateReader

java.lang.Object
  |
  +--java.io.Reader
        |
        +--org.objectweb.jac.aspects.gui.TemplateReader

public class TemplateReader
extends Reader

This is unused class to create printable templates.

Template Reader : a stream reader for Template Substitute %param% with the value of template.getParams().get(param)


Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
TemplateReader(Reader in, Map params)
           
 
Method Summary
 void close()
           
 int read()
           
 int read(char[] b, int off, int len)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateReader

public TemplateReader(Reader in,
                      Map params)
Method Detail

read

public int read(char[] b,
                int off,
                int len)
         throws IOException
Specified by:
read in class Reader
IOException

read

public int read()
         throws IOException
Overrides:
read in class Reader
IOException

close

public void close()
           throws IOException
Specified by:
close in class Reader
IOException