commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nicolas de loof" <nicolas.del...@gmail.com>
Subject [vfs] cannot write into a .tgz ?
Date Thu, 20 Sep 2007 13:26:04 GMT
Hello,

I'm trying to edit content of a TGZ file using commons-vfs :

            FileSystemManager fsManager = VFS.getManager();
            String vfsPath = "tgz://" + myFile.getAbsolutePath();
            FileObject tar = fsManager.resolveFile( vfsPath );
            if ( !tar.isWriteable() )
            {
                // ERROR
            }

My FileObject is not writable. Is this a commons-vfs limitation or did
I miss something about this API ?

Nico.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message