org.codehaus.plexus.archiver.bzip2
Class PlexusIoBzip2ResourceCollection

java.lang.Object
  extended by org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
      extended by org.codehaus.plexus.archiver.bzip2.PlexusIoBzip2ResourceCollection
All Implemented Interfaces:
org.codehaus.plexus.components.io.resources.PlexusIoArchivedResourceCollection, org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection

public class PlexusIoBzip2ResourceCollection
extends org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection

Implementation of PlexusIoResourceCollection for bzip2 compressed files.


Field Summary
 
Fields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection
DEFAULT_ROLE_HINT, ROLE
 
Constructor Summary
PlexusIoBzip2ResourceCollection()
           
 
Method Summary
protected  String getDefaultExtension()
           
protected  InputStream getInputStream(File file)
           
 
Methods inherited from class org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
getFile, getLastModified, getName, getName, getPath, getResources, setFile, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlexusIoBzip2ResourceCollection

public PlexusIoBzip2ResourceCollection()
Method Detail

getInputStream

protected InputStream getInputStream(File file)
                              throws IOException
Specified by:
getInputStream in class org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection
Throws:
IOException

getDefaultExtension

protected String getDefaultExtension()
Specified by:
getDefaultExtension in class org.codehaus.plexus.components.io.resources.PlexusIoCompressedFileResourceCollection


Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.