View Single Post
Old 05-04-2011, 06:51 AM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Not easily. Probably the only thing you will be abe to do is call calibre command line applications (such as ebook-convert) and let them run then get the output:

Code:
import java.io.*;
Process p = Runtime.getRuntime().exec("ebook-convert.exe");
p.waitFor();
System.out.println(p.exitValue());
The other option you have if is you want to interact with the calibre library for instance then you don't need calibre and can work with the metadata.db and files themselves.
user_none is offline   Reply With Quote