String dir = (String) this._fetchAttributes.get( ATTRIBUTE_FS_DIRECTORY ); File fDir = new File( dir ); if (!fDir.exists()) { fDir.mkdir(); }
    public long[] dispatch( List docs ) throws TransportException    {        long[] written = new long[docs.size()];        String dir = (String) this._fetchAttributes.get( ATTRIBUTE_FS_DIRECTORY );        File fDir = new File( dir );        if (!fDir.exists())        {            fDir.mkdir();        }        for (int i = 0; i < docs.size(); i++)        {            Document doc = (Document) docs.get( i );            written[i] = writeFile( doc, fDir );        }        return written;    }