-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
AbstractDataSource
,ClassFileDataSource
,DirectoryDataSource
,JarFileDataSource
,PlainFileDataSource
,WarFileDataSource
public interface DataSource extends AutoCloseable
This interface shows DataSource, which is the source of the some data.- Author:
- Haruaki Tamada
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Path
base()
void
close()
default DataSource
filter(Predicate<Entry> predicate)
default void
forEach(Consumer<Entry> consumer)
Stream<Entry>
stream()
-
-
-
Method Detail
-
base
Path base()
-
filter
default DataSource filter(Predicate<Entry> predicate)
-
close
void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
-