All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.idylnlp.opennlp.custom.encryption.OpenNLPEncryptionFactory Maven / Gradle / Ivy

package ai.idylnlp.opennlp.custom.encryption;

public class OpenNLPEncryptionFactory {

  private static OpenNLPEncryption openNLPEncryption;

  private OpenNLPEncryptionFactory() {
    // This is a factory class.
  }

  public static OpenNLPEncryption getDefault() {

    if(openNLPEncryption == null) {
      openNLPEncryption = new OpenNLP183Encryption();
    }

    return openNLPEncryption;

  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy