Package com.skytix.pdfconverter
Class SharepointSiteResolver
java.lang.Object
com.skytix.pdfconverter.SharepointSiteResolver
- All Implemented Interfaces:
DriveItemResolver
public class SharepointSiteResolver extends java.lang.Object implements DriveItemResolver
-
Constructor Summary
Constructors Constructor Description SharepointSiteResolver(java.lang.String aSiteName, java.lang.String aRemoteFolder) -
Method Summary
Modifier and Type Method Description com.microsoft.graph.models.UploadSessioncreateUploadSession(java.lang.String filename)java.io.InputStreamdownload(java.lang.String itemId)voidregister(com.microsoft.graph.requests.GraphServiceClient<okhttp3.Request> aGraphServiceClient)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SharepointSiteResolver
public SharepointSiteResolver(java.lang.String aSiteName, java.lang.String aRemoteFolder)
-
-
Method Details
-
register
public void register(com.microsoft.graph.requests.GraphServiceClient<okhttp3.Request> aGraphServiceClient) throws OneDriveException- Specified by:
registerin interfaceDriveItemResolver- Throws:
OneDriveException
-
createUploadSession
public com.microsoft.graph.models.UploadSession createUploadSession(java.lang.String filename)- Specified by:
createUploadSessionin interfaceDriveItemResolver
-
download
public java.io.InputStream download(java.lang.String itemId)- Specified by:
downloadin interfaceDriveItemResolver
-