Code example for BufferedOutputStream

Methods: close

     * @throws IOException 
    public void doTestWithStream(boolean skipBinary, boolean noRecurse)
            throws RepositoryException, SAXException, IOException { 
        BufferedOutputStream os = new BufferedOutputStream(new FileOutputStream(file));
        try { 
            session.exportSystemView(testPath, os, false, false);
            SysViewParser parser = new SysViewParser(testPath, session, SAVEBINARY, RECURSE);
        } catch (RepositoryException re) {
            fail("Could not initialize the contenthandler due to: " + re.toString());
        } finally { 
Stop searching for code, let great code find you!  Add Codota to your java IDE