public synchronized EvernoteClientFactory getEvernoteClientFactory ( ) { if ( mFactoryThreadLocal == null ) { mFactoryThreadLocal = new ThreadLocal <> ( ) ; } if ( mEvernoteClientFactoryBuilder == null ) { mEvernoteClientFactoryBuilder = new EvernoteClientFactory . Builder ( this ) ; } EvernoteClientFactory factory = mFactoryThreadLocal . get ( ) ; if ( factory == null ) { factory = mEvernoteClientFactoryBuilder . build ( ) ; mFactoryThreadLocal . set ( factory ) ; } return factory ; }
Returns a factory to create various clients and helper objects to get access to the Evernote API .