In the code we call it "Archivername". That should be changed accordingly to "type" then IMO. (getArchiveName() could be a little ambiguous)
That said: Is there a particular reason you need this? Or is this just because you think it might be useful? On Tue, May 11, 2010 at 17:55, sebb <[email protected]> wrote: > Seems to me that it would be useful to be able to find out what > ArchiveInputStream has been chosen by the ArchiveStreamFactory. > > I'm thinking of adding something like: > > public String getArchiveType() { > return ArchiveStreamFactory.TAR ; // or ZIP etc. > } > > to each of the AIS subclasses. > > The AIS parent class could either have a dummy implementation, or the > parent method could be abstract to force subclasses to provide the > method. > > The same could be done for CompressorStreamFactory. > > Thoughts? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
