How to integrate java API into ruby? -


i new integrating outside api programming languages have several questions ask:

1) can api online used in programming language or should maker specify programming language can used?

2) found api based on java language processing. prefer program on ruby can integrate ruby?

3) source code provided api, how can use advantage? (install?)

4) how can entegrate api language(is there common way or should specific way provided developer) ?

i have more questions based on answers get. want understand more topic.

thank you

if want interface api written in java, have write java yourself. there version of ruby runs in java called jruby (http://jruby.org/) allows use java classes within ruby.

it looks tool linked can run command line. can run commands within ruby enclosing them in backticks, example

`bin/mallet import-dir --input /data/topic-input --output topic-input.mallet` 

hope helps


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -