com.mucommander.file.impl.ar
Class ArFormatProvider

java.lang.Object
  extended by com.mucommander.file.impl.ar.ArFormatProvider
All Implemented Interfaces:
ArchiveFormatProvider

public class ArFormatProvider
extends java.lang.Object
implements ArchiveFormatProvider

This class is the provider for the 'Ar' archive format implemented by ArArchiveFile.

Author:
Nicolas Rinaudo, Maxence Bernard
See Also:
ArArchiveFile

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

ArFormatProvider

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