com.mucommander.file.impl.zip
Class ZipFormatProvider

java.lang.Object
  extended by com.mucommander.file.impl.zip.ZipFormatProvider
All Implemented Interfaces:
ArchiveFormatProvider

public class ZipFormatProvider
extends java.lang.Object
implements ArchiveFormatProvider

This class is the provider for the 'Zip' archive format implemented by ZipArchiveFile.

Author:
Nicolas Rinaudo, Maxence Bernard
See Also:
ZipArchiveFile

Constructor Summary
ZipFormatProvider()
           
 
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

ZipFormatProvider

public ZipFormatProvider()
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