- java.lang.Object
 - 
- jp.cafebabe.kunai.source.AbstractDataSource
 - 
- jp.cafebabe.kunai.source.JarFileDataSource
 
 
 
- 
- All Implemented Interfaces:
 AutoCloseable,DataSource,PathResolver
- Direct Known Subclasses:
 WarFileDataSource
public class JarFileDataSource extends AbstractDataSource implements PathResolver
 
- 
- 
Constructor Summary
Constructors Constructor Description JarFileDataSource(Path path, FileSystem system) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()InputStreamopenStream(Path entry)ClassNameparseClassName(Path path)Stream<Entry>stream()- 
Methods inherited from class jp.cafebabe.kunai.source.AbstractDataSource
base, getLastIndex, getStartIndex, parseClassName 
- 
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
filter, forEach 
- 
Methods inherited from interface jp.cafebabe.kunai.source.PathResolver
resolveClassName 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
JarFileDataSource
public JarFileDataSource(Path path, FileSystem system)
 
 - 
 
- 
Method Detail
- 
stream
public Stream<Entry> stream()
- Specified by:
 streamin interfaceDataSource
 
- 
parseClassName
public ClassName parseClassName(Path path)
- Specified by:
 parseClassNamein interfacePathResolver
 
- 
openStream
public InputStream openStream(Path entry) throws IOException
- Specified by:
 openStreamin interfacePathResolver- Throws:
 IOException
 
- 
close
public void close() throws IOException- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceDataSource- Throws:
 IOException
 
 - 
 
 -