Class FileSystemConnectionDescriptionFactory
- java.lang.Object
-
- net.anwiba.commons.datasource.connection.FileSystemConnectionDescriptionFactory
-
- All Implemented Interfaces:
IFileConnectionDescriptionFactory,IRegisterableFileConnectionDescriptionFactory,IApplicable<java.io.File>
public class FileSystemConnectionDescriptionFactory extends java.lang.Object implements IRegisterableFileConnectionDescriptionFactory
-
-
Constructor Summary
Constructors Constructor Description FileSystemConnectionDescriptionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IConnectionDescriptioncreate(java.io.File file)booleanisApplicable(java.io.File context)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.anwiba.commons.lang.functional.IApplicable
and, not, or
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(java.io.File context)
- Specified by:
isApplicablein interfaceIApplicable<java.io.File>
-
create
public IConnectionDescription create(java.io.File file) throws CreationException
- Specified by:
createin interfaceIFileConnectionDescriptionFactory- Specified by:
createin interfaceIRegisterableFileConnectionDescriptionFactory- Throws:
CreationException
-
-