org.objectweb.jac.aspects.gui
Class TemplateReader

java.lang.Object
  extended byjava.io.Reader
      extended byorg.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
Throws:
IOException

read

public int read()
         throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException