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