- java.lang.Object
-
- jp.cafebabe.kunai.source.factories.DefaultDataSourceFactory
-
- All Implemented Interfaces:
DataSourceFactory
public class DefaultDataSourceFactory extends Object implements DataSourceFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultDataSourceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSource
build(Path path, FileSystem system)
boolean
isTarget(Path path, FileSystem system, BasicFileAttributes attributes)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jp.cafebabe.kunai.source.factories.DataSourceFactory
build, build, isTarget, isTarget
-
-
-
-
Method Detail
-
build
public DataSource build(Path path, FileSystem system) throws KunaiException
- Specified by:
build
in interfaceDataSourceFactory
- Throws:
KunaiException
-
isTarget
public boolean isTarget(Path path, FileSystem system, BasicFileAttributes attributes)
- Specified by:
isTarget
in interfaceDataSourceFactory
-
-