DocumentDataSource ds = new ByteArrayDataSource(rawData, digest);
DocumentDataSource ds = new FileDocumentDataSource(file);
    public ParsedDocument(byte[] rawData, String digest, String filename, String ctype, long createdDate)    throws ServiceException, IOException {        DocumentDataSource ds = new ByteArrayDataSource(rawData, digest);        init(ds, filename, ctype, createdDate);    }