Search contents of a file in google drive - java

I have built a document management system on top of app engine using java . I use Google drive to store all my document . This is document management system is just a part my application . I have provided user facilities like download , upload , versioning of documents etc making use of drive API . Now I have requirement for search the content of the file and when the content matches any of the files in drive it show me the file names where pattern matches .
I searched for drive API's but couldn't find suitable solution .
Need some help .

see here :
https://developers.google.com/drive/search-parameters
and
fullText string contains Full text of the file including title, description, and content.
in the drive SDK documentation

Related

Sharepoint site Excel file operations using Java graph apis

Would like to create the excel file on sharepoint site using Java Graph API , also would like to get the id of the same file so that modifications on the file can be done using the Graph API.
One should have the Drive Id , Site Id handy for doing this.
Create a folder on your sharepoint site , share the same folder in one drive so that the paths can be used to upload the excel file.
Use the below given link for more information.
https://rahul-metangale.medium.com/upload-a-file-to-sharepoint-using-azure-graph-api-9deacce57449
There is more to this than specified in this blog.

How can i open a word file into my app which is stored in my google drive

I want to open a word or pdf file in my code that file must be stored on any internet resource because when I will change in pdf file or word file it will change it in all user's app.
I try to find many ways to resolve it but couldn't find any thing.
Thanks in Advance.
https://developers.google.com/drive/v3/web/integrate-open
You can integrate the google drive API. Please go through the link you will find details about how to integrate it into your system.

Google Drive Java Api : Is it possible to Extract zip file that is available in google Drive

Is there a way to unzip a zip file that is available in google drive using google drive java api.
i Am able to retrieve all the files from a particular users drive , now what i need to do is, if a file is a zip file, i need to extract it and get the files available inside it.
Thanks in advance.

Is it possible to open a doc file in office word online using java?

I'm using Spring in my Java EE application . the users of my application can download files , I used a servlet for that . I can also open .txt and photos online using blob .
Is it possible to open a .doc file online using office word online via my java application ? is there any other solutions ?

Use Google Docs API to download file of any type

Is it possible to download files of any type from Google Docs using the Google Docs API? (jpg, zip, txt)
I can figure out how to download word, powerpoint, and excel files but want to be able to upload and download any type of file to Google Docs. I know it is possible to do this with the online uploader but can't seem to get the downloading part to work with the API.
I'm using the Java wrapper to the API. Is it possible to use the Java version of the API to download all file types?
Since the last answer was written, that API is deprecated. There's sample Java code on the Google Dev page for the (newer) Google Drive API for managing downloads from Google Docs.
This handles a large variety of MIME types.
See this page http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html
and this for specifically downloading documents and files
http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#DownloadingDocsAndFiles
The document listing XML returned by google has file type and the URL to download the file in the node. You can use the URL to download the file contents.

Categories

Resources