I've figured out how to make the Java version of the distiller
callable from Java, but that raises the question of what the Java API
to the distiller should be.  I'm thinking that to begin with, it will
be very simple, something like:

  package org.plkr;

  public interface InvokePluckerBuildFromJavaIfc {

    int invoke (java.io.OutputStream optionalOutput,
                java.lang.String optionalInputString,
                java.lang.String[] arguments);

  };

The "arguments" are the same string arguments passed to plucker-build
in a normal command-line invocations.  "optionalOutput" is a stream to
write the document to as it's formed.  If not passed (a value of null)
the normal DB file processing is used.  "optionalInputString" is
either null or a URL using the "data" URL scheme described in RFC 2397
(http://www.ietf.org/rfc/rfc2397.txt?number=2397).

Bill

_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to