-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> ...so what's the benefit over the usual factory + constructor
> instantiation then?
> 
> Archive arch = new TarArchive(new File("my.tar"));
> Archive arch = ArchiveFactory.newInstance(new File("my.tar");
> Archive arch = ArchiveFactory.newInstance("tar");

i have read your suggestion but i was not sure why i should accept
strings for choosing an archive. I like the idea ArchiveFactory
identifys archives by it's header. So, thanks for making this clear to me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEZaN4kv8rKBUE/T4RAiV3AJ9WcG4Sfl4b7Hlv1pj/DDbojqbV9gCeJaFd
lZAWKvyFjba5F7LEVYQqKV4=
=9Ojn
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to