public
Description: Java library for the Vuzit AJAX document viewer web services API
Home | Edit | New

Home

VuzitJava – Vuzit Web Services library for Java

INTRODUCTION

This is a library that allows developers to directly access the Vuzit Document Viewer Web Service API through a simple Java interface.

Below is a basic upload example:


com.vuzit.Service.setPublicKey("YOUR_PUBLIC_API_KEY");  
com.vuzit.Service.setPrivateKey("YOUR_PRIVATE_API_KEY"); 

com.vuzit.Document doc = com.vuzit.Document.upload("c:/path/to/document.pdf");  

System.out.println("Document id: " + doc.getId());  

To get started all you need to do is download the code, sign up for a free account and replace the public and private keys with the keys from your account.

SETUP

  • Take the Vuzit.jar file from the build/jar directory
    • build/jar
  • Add the JAR file as a reference in your project.
  • To check if your install was successful add the code below to your source code and if it compiles without any errors then you’ve succeeded.
    • import com.vuzit;
  • If you want to compile the source code then you will need to install Ant and run the following command in the root
    directory (with the build.xml in it):
    • ant jar
  • To build the VuzitCL command-line interface to the Vuzit API run this command with Ant:
    • ant bin

GETTING STARTED

LICENSE

Released under the MIT license which means you can use it in proprietary products.

MORE INFORMATION

For more information visit the Vuzit.com Developer Center

FEATURE REQUESTS AND BUG REPORTS

Email to support@vuzit.com or visit Vuzit Support

Last edited by bmatzelle, Wed Nov 04 13:23:42 -0800 2009
Home | Edit | New
Versions: