Class DropboxSession


  • public class DropboxSession
    extends java.lang.Object
    Author:
    andrew
    • Constructor Summary

      Constructors 
      Constructor Description
      DropboxSession​(java.lang.String app_key, java.lang.String app_secret, java.lang.String key, java.lang.String secret)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      com.dropbox.client2.DropboxAPI.DropboxInputStream getDropboxInputStream​(java.lang.String id)  
      com.dropbox.client2.DropboxAPI.Entry getObject​(java.lang.String id)  
      java.util.Map<java.lang.String,​java.lang.String> getRepositoryInfo()  
      void getSeeds​(org.apache.manifoldcf.connectorcommon.common.XThreadStringBuffer idBuffer, java.lang.String path, int max_dirs)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DropboxSession

        public DropboxSession​(java.lang.String app_key,
                              java.lang.String app_secret,
                              java.lang.String key,
                              java.lang.String secret)
    • Method Detail

      • getRepositoryInfo

        public java.util.Map<java.lang.String,​java.lang.String> getRepositoryInfo()
                                                                                 throws com.dropbox.client2.exception.DropboxException
        Throws:
        com.dropbox.client2.exception.DropboxException
      • getSeeds

        public void getSeeds​(org.apache.manifoldcf.connectorcommon.common.XThreadStringBuffer idBuffer,
                             java.lang.String path,
                             int max_dirs)
                      throws com.dropbox.client2.exception.DropboxException,
                             java.lang.InterruptedException
        Throws:
        com.dropbox.client2.exception.DropboxException
        java.lang.InterruptedException
      • getObject

        public com.dropbox.client2.DropboxAPI.Entry getObject​(java.lang.String id)
                                                       throws com.dropbox.client2.exception.DropboxException
        Throws:
        com.dropbox.client2.exception.DropboxException
      • getDropboxInputStream

        public com.dropbox.client2.DropboxAPI.DropboxInputStream getDropboxInputStream​(java.lang.String id)
                                                                                throws com.dropbox.client2.exception.DropboxException
        Throws:
        com.dropbox.client2.exception.DropboxException
      • close

        public void close()