org.ow2.util.archive.impl
Class DefaultArchiveFactory
java.lang.Object
org.ow2.util.archive.impl.DefaultArchiveFactory
- All Implemented Interfaces:
- IArchiveFactory<File>
public class DefaultArchiveFactory
- extends Object
- implements IArchiveFactory<File>
Default factory that manages the file (jar file or directories).
- Author:
- Florent Benoit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultArchiveFactory
public DefaultArchiveFactory()
create
public IArchive create(File file)
- Creates an EZBArchive object for the given object.
- Specified by:
create in interface IArchiveFactory<File>
- Parameters:
file - the file that this factory can manage.
- Returns:
- a new EZBArchive instance or null if it's not an archive
getSupportedClass
public Class<File> getSupportedClass()
- Specified by:
getSupportedClass in interface IArchiveFactory<File>
- Returns:
- the type supported by the factory
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.