Extracting PDF Metadata and Metrics in Java