public class ClassPath extends Object
Constructor and Description |
---|
ClassPath() |
ClassPath(ClassPathRoot... roots) |
ClassPath(Collection<File> files) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
classNames() |
Collection<String> |
findClasses(Predicate<String> nameFilter) |
URL |
findResource(String name) |
byte[] |
getClassData(String classname) |
static Collection<File> |
getClassPathElementsAsFiles() |
static Collection<String> |
getClassPathElementsAsPaths() |
ClassPath |
getComponent(Predicate<ClassPathRoot> predicate) |
String |
getLocalClassPath() |
public ClassPath()
public ClassPath(ClassPathRoot... roots)
public ClassPath(Collection<File> files)
public Collection<String> classNames()
public byte[] getClassData(String classname) throws IOException
IOException
public static Collection<String> getClassPathElementsAsPaths()
public static Collection<File> getClassPathElementsAsFiles()
public Collection<String> findClasses(Predicate<String> nameFilter)
public String getLocalClassPath()
public ClassPath getComponent(Predicate<ClassPathRoot> predicate)
Copyright © 2021 org.pitest. All rights reserved.