SimpleClassPathModelFinder (Apache OpenNLP Tools Models 2.5.9 API)
Description: declaration: package: opennlp.tools.models.simple, class: SimpleClassPathModelFinder

# Class SimpleClassPathModelFinder

java.lang.Object
opennlp.tools.models.AbstractClassPathModelFinder
opennlp.tools.models.simple.SimpleClassPathModelFinder

All Implemented Interfaces:
  `ClassPathModelFinder`

public class SimpleClassPathModelFinder extends AbstractClassPathModelFinder implements ClassPathModelFinder
Enables the detection of OpenNLP models in the classpath via JDK classes By default, this class will search for JAR files starting with "opennlp-models-*". This wildcard pattern can be adjusted by using the alternative constructor of this class.

See Also:
  - `ClassPathModelFinder`

- ## Field Summary

  ### Fields inherited from interface ClassPathModelFinder

  `OPENNLP_MODEL_JAR_PREFIX`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SimpleClassPathModelFinder()`
  By default, it scans for `ClassPathModelFinder.OPENNLP_MODEL_JAR_PREFIX`.
  `SimpleClassPathModelFinder(String modelJarPrefix)`

- ## Method Summary

  ### Methods inherited from class AbstractClassPathModelFinder

  `findModels`

  ### Methods inherited from class Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface ClassPathModelFinder

  `findModels`

- ## Constructor Details

  - ### SimpleClassPathModelFinder

    public SimpleClassPathModelFinder()
    By default, it scans for `ClassPathModelFinder.OPENNLP_MODEL_JAR_PREFIX`.

  - ### SimpleClassPathModelFinder

    public SimpleClassPathModelFinder(String modelJarPrefix)
    Parameters:
      `modelJarPrefix` - The leafnames of the jars that should be canned (e.g. "opennlp.jar"). May contain a wildcard glob ("opennlp-*.jar"). It must not be `null`.