Package org.eclipse.orion.server.core.resources

Examples of org.eclipse.orion.server.core.resources.Base64Counter.increment()


    Base64Counter counter = new Base64Counter();
    String userName = user.getUserName();
    JSONObject sitesObject = getSites(user);
    String candidate = userName + '-' + counter.toString();
    while (sitesObject.has(candidate)) {
      counter.increment();
      candidate = userName + '-' + counter.toString();
    }
    return candidate;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.