class CandidateLoader extends AbstractLoader
The properties file takes the form of candidateClassName=shortDescription.
TCK
AbstractLoader.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, loadFromResource
private 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)
AbstractLoader
handlePropertyEntry
in class AbstractLoader
clazz
- class on the linedescription
- description of the classtype
- type of the candidate