Function: org-babel-java-evaluate
org-babel-java-evaluate is a byte-compiled function defined in
ob-java.el.gz.
Signature
(org-babel-java-evaluate CMD RESULT-TYPE RESULT-PARAMS RESULT-FILE)
Documentation
Evaluate using an external java process.
CMD the command to execute.
If RESULT-TYPE equals output then return standard output as a
string. If RESULT-TYPE equals value then return the value
returned by the source block, as elisp.
RESULT-PARAMS input params used to format the response.
RESULT-FILE filename of the tempfile to store the returned value in
for value RESULT-TYPE. Not used for output RESULT-TYPE.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-java.el.gz
(defun org-babel-java-evaluate (cmd result-type result-params result-file)
"Evaluate using an external java process.
CMD the command to execute.
If RESULT-TYPE equals `output' then return standard output as a
string. If RESULT-TYPE equals `value' then return the value
returned by the source block, as elisp.
RESULT-PARAMS input params used to format the response.
RESULT-FILE filename of the tempfile to store the returned value in
for `value' RESULT-TYPE. Not used for `output' RESULT-TYPE."
(let ((raw (pcase result-type
(`output (org-babel-eval cmd ""))
(`value (org-babel-eval cmd "")
(org-babel-eval-read-file result-file)))))
(org-babel-result-cond result-params raw
(org-babel-java-table-or-string raw))))