Class CandidateLoader


  • class CandidateLoader
    extends AbstractLoader
    Loads a set of candidate classes from a properties file into the TCK.

    The properties file takes the form of candidateClassName=shortDescription.

    See Also:
    TCK
    • Field Detail

      • tck

        private final TCK tck
    • Constructor Detail

      • CandidateLoader

        public CandidateLoader​(TCK tck,
                               AbstractLoader.ErrorHandler errorHandler)
        Parameters:
        tck - TCK that will use the candidates
        errorHandler - Handler called in case of error
    • Method Detail

      • handlePropertyEntry

        protected void handlePropertyEntry​(java.lang.Class<?> clazz,
                                           java.lang.String description,
                                           Candidate.CandidateType type)
        Description copied from class: AbstractLoader
        Will receive one class and its description pairs from the file
        Specified by:
        handlePropertyEntry in class AbstractLoader
        Parameters:
        clazz - class on the line
        description - description of the class
        type - type of the candidate