001    package railo.commons.io;
002    
003    import java.io.BufferedInputStream;
004    import java.io.File;
005    import java.io.FileInputStream;
006    import java.io.FileNotFoundException;
007    
008    /**
009     * this class is the short form for  <code>new BufferedInputStream(new FileInputStream())</code>
010     */
011    public final class BufferedFileInputStream extends BufferedInputStream {
012    
013        /**
014         * constructor of the class
015         * @param file
016         * @throws FileNotFoundException
017         */
018        public BufferedFileInputStream(File file) throws FileNotFoundException {
019            super(new FileInputStream(file));
020        }
021        
022        /**
023         * constructor of the class
024         * @param strFile
025         * @throws FileNotFoundException
026         */
027        public BufferedFileInputStream(String strFile) throws FileNotFoundException {
028            this(new File(strFile));
029        }
030    
031    }