All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stanfy.enroscar.async.internal.Utils Maven / Gradle / Ivy

Go to download

Helper classes and extended abstractions for Android loaders, content resolvers, and DB access.

There is a newer version: 2.1
Show newest version
package com.stanfy.enroscar.async.internal;

/**
 * Utilities.
 */
public final class Utils {

  /** Generated class name suffix. */
  private static final String SUFFIX = "$$Loader";

  public static String getGeneratedClassName(final String packageName, final String baseClassName) {
    String base = baseClassName;
    if (packageName.length() > 0) {
      base = base.substring(packageName.length() + 1);
    }
    return base.replace(".", "$").concat(SUFFIX);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy