public synchronized Throwable call(String method, Object... args)
            throws IOException, TikaException {
        filesProcessed++;
        List<ForkResource> r = new ArrayList<>(resources);
        output.writeByte(ForkServer.CALL);
        output.writeUTF(method);
        for (Object arg : args) {
            sendObject(arg, r);
        }
        return waitForResponse(r);
    }
Fills in the jar file used to bootstrap the forked server process.
All the required <code>.class</code> files and a manifest with a
<code>Main-Class</code> entry are written into the archive.

@param file file to hold the bootstrap archive
@throws IOException if the bootstrap archive could not be created
tika-core/src/main/java/org/apache/tika/fork/ForkClient.java