Anyway to pull Sharepoint lists directly with a Java program to extract large amounts of data without first exporting to excel?

Does anyone know if there is anyway to pull lists from SharePoint directly using a Java program? I would like my program to automatically pull data from SharePoint every so often that I would set up on my own, however I am running into problems whilst attempting to retrieve the data in the first place to even start to do anything with said data. Sorry if any of this is vague but my main question is again: is there anyway to pull data with a Java program straight from SharePoint. Thanks.