Announcement

Collapse
No announcement yet.

Using a new java class in my transformer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using a new java class in my transformer

    I have a .jar file that I would like to call within my transformer. What folder do I need to put the jar into inorder to access it from Mirth? The jar is "tm-extractors-1.0.jar" and I got it from http://www.textmining.org.
    I need to call it like this:

    var var1 = "THIS IS MY TEXT";
    var extractor = new org.textmining.text.extraction.WordExtractor();
    var docText = xtra.extractText($var1);

    Can anyone provide some assistance for this?
    Thanks,
    -Dave tm_extractors_1-9dfaa7cbcd5d7f1f1cf1673a70393b6f.jar (33832 bytes)

  • #2
    Re:Using a new java class in my transformer

    Hi,
    try to put the jar into MIRTH_ROOT/lib/custom, then restart Mirth.

    regards,
    Alessandro

    Comment

    Working...
    X