class CandidateLoader extends AbstractLoader
The properties file takes the form of candidateClassName=shortDescription.
TCKAbstractLoader.ErrorHandler, AbstractLoader.LoggingErrorHandler| Constructor and Description |
|---|
CandidateLoader(TCK tck,
AbstractLoader.ErrorHandler errorHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handlePropertyEntry(java.lang.Class<?> clazz,
java.lang.String description,
Candidate.CandidateType type)
Will receive one class and its description pairs from the file
|
loadFrom, loadFromResourceprivate final TCK tck
public CandidateLoader(TCK tck, AbstractLoader.ErrorHandler errorHandler)
tck - TCK that will use the candidateserrorHandler - Handler called in case of errorprotected void handlePropertyEntry(java.lang.Class<?> clazz,
java.lang.String description,
Candidate.CandidateType type)
AbstractLoaderhandlePropertyEntry in class AbstractLoaderclazz - class on the linedescription - description of the classtype - type of the candidate