net.sf.zekr.common.config
Class VelocityInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by net.sf.zekr.common.config.VelocityInputStream
All Implemented Interfaces:
java.io.Closeable

public class VelocityInputStream
extends java.io.InputStream

This is a wrapper class for converting velocity output result String into a InputStream.

Since:
Zekr 1.0
Author:
Mohsen Saboorian

Constructor Summary
VelocityInputStream(java.lang.String fileName)
           
 
Method Summary
 int read()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityInputStream

public VelocityInputStream(java.lang.String fileName)
                    throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException