com.mucommander.file.impl.bzip2
Class Bzip2FormatProvider

java.lang.Object
  extended by com.mucommander.file.impl.bzip2.Bzip2FormatProvider
All Implemented Interfaces:
ArchiveFormatProvider

public class Bzip2FormatProvider
extends java.lang.Object
implements ArchiveFormatProvider

This class is the provider for the 'Bzip2' archive format implemented by Bzip2ArchiveFile.

Author:
Nicolas Rinaudo, Maxence Bernard
See Also:
Bzip2ArchiveFile

Constructor Summary
Bzip2FormatProvider()
           
 
Method Summary
 AbstractArchiveFile getFile(AbstractFile file)
          Creates a new instance of AbstractArchiveFile .
 FilenameFilter getFilenameFilter()
          Returns the FilenameFilter that matches filenames to be associated with this archive format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bzip2FormatProvider

public Bzip2FormatProvider()
Method Detail

getFile

public AbstractArchiveFile getFile(AbstractFile file)
                            throws java.io.IOException
Description copied from interface: ArchiveFormatProvider
Creates a new instance of AbstractArchiveFile .

Specified by:
getFile in interface ArchiveFormatProvider
Parameters:
file - file to map as an AbstractArchiveFile.
Returns:
a new instance of AbstractArchiveFile that matches the specified URL.
Throws:
java.io.IOException - if an error occurs.

getFilenameFilter

public FilenameFilter getFilenameFilter()
Description copied from interface: ArchiveFormatProvider
Returns the FilenameFilter that matches filenames to be associated with this archive format.

Specified by:
getFilenameFilter in interface ArchiveFormatProvider
Returns:
the FilenameFilter that matches filenames to be associated with this archive format


This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard