Package com.socrata.datasync.config.userpreferences

Examples of com.socrata.datasync.config.userpreferences.UserPreferencesLib


*/
public class LibraryExample {

    public static void main(String[] args) throws IOException {
        // Establish "global" configuration (User Preferences)
        UserPreferencesLib userPrefs = new UserPreferencesLib();
        userPrefs.setDomain("https://some.domain.org"); // must include the 'https://'
        userPrefs.setUsername("USERNAME");
        userPrefs.setPassword("PASSWORD");
        userPrefs.setAppToken("APP_TOKEN");

        // Optional uUser Preferences
        //userPrefs.setAdminEmail("admin@domain.org");
        //userPrefs.setEmailUponError(true);
        //userPrefs.setLogDatasetID("abcd-1234");
View Full Code Here

TOP

Related Classes of com.socrata.datasync.config.userpreferences.UserPreferencesLib

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.