Interface ClassLoaderFileRepository
- All Known Implementing Classes:
ClassLoaderFiles
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ClassLoaderFileRepository
A container for files that may be served from aClassLoader
. Can be used to represent files that have been added, modified or deleted since the original JAR was created.- Since:
- 1.3.0
- See Also:
ClassLoaderFile
Field Summary
Fields Modifier and Type Field Description static ClassLoaderFileRepository
NONE
EmptyClassLoaderFileRepository
implementation.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassLoaderFile
getFile(String name)
Return aClassLoaderFile
for the given name ornull
if no file is contained in this collection.
Field Detail
NONE
static final ClassLoaderFileRepository NONE
EmptyClassLoaderFileRepository
implementation.
Method Detail
getFile
ClassLoaderFile getFile(String name)
Return aClassLoaderFile
for the given name ornull
if no file is contained in this collection.- Parameters:
name
- the name of the file- Returns:
- a
ClassLoaderFile
ornull