- java.lang.Object
-
- jp.cafebabe.kunai.source.AbstractDataSource
-
- All Implemented Interfaces:
AutoCloseable
,DataSource
- Direct Known Subclasses:
ClassFileDataSource
,DirectoryDataSource
,JarFileDataSource
,PlainFileDataSource
public abstract class AbstractDataSource extends Object implements DataSource
-
-
Constructor Summary
Constructors Constructor Description AbstractDataSource(Path base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Path
base()
protected int
getLastIndex(String name, String extension)
protected int
getStartIndex(String name)
protected String
parseClassName(String name)
-
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.DataSource
close, filter, forEach, stream
-
-
-
-
Constructor Detail
-
AbstractDataSource
public AbstractDataSource(Path base)
-
-