public class NameCachingRoot extends Object implements ClassPathRoot
Constructor and Description |
---|
NameCachingRoot(ClassPathRoot child) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
cacheLocation() |
Collection<String> |
classNames() |
InputStream |
getData(String name) |
URL |
getResource(String name) |
static Function<ClassPathRoot,ClassPathRoot> |
toCachingRoot() |
public NameCachingRoot(ClassPathRoot child)
public URL getResource(String name) throws MalformedURLException
getResource
in interface ClassPathRoot
MalformedURLException
public InputStream getData(String name) throws IOException
getData
in interface ClassPathRoot
IOException
public Collection<String> classNames()
classNames
in interface ClassPathRoot
public Optional<String> cacheLocation()
cacheLocation
in interface ClassPathRoot
public static Function<ClassPathRoot,ClassPathRoot> toCachingRoot()
Copyright © 2021 org.pitest. All rights reserved.