congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
FijiNameValidator.isValidLayoutName
Code IndexAdd Tabnine to your IDE (free)

How to use
isValidLayoutName
method
in
com.moz.fiji.schema.util.FijiNameValidator

Best Java code snippets using com.moz.fiji.schema.util.FijiNameValidator.isValidLayoutName (Showing top 5 results out of 315)

origin: com.moz.fiji.schema/fiji-schema

/**
 * Validates a name (table name, locality group name, family name, or column name).
 *
 * @param name The name to validate.
 * @return whether the name is valid.
 */
private static boolean isValidName(String name) {
 return FijiNameValidator.isValidLayoutName(name);
}
origin: com.moz.fiji.mapreduce.lib/fiji-mapreduce-lib

/**
 * Validates a name (table name, locality group name, family name, or column name).
 *
 * @param name The name to validateDestination.
 * @return whether the name is valid.
 */
private static boolean isValidName(String name) {
 return FijiNameValidator.isValidLayoutName(name);
}
origin: com.moz.fiji.schema/fiji-schema

/**
 * Determines whether a string is a valid layout name,
 * including table names, locality group names, family names, and column names.
 *
 * @param name The string to validate as a layout name.
 * @throws FijiInvalidNameException If the name is invalid.
 */
public static void validateLayoutName(CharSequence name) {
 if (!isValidLayoutName(name)) {
  throw new FijiInvalidNameException("Invalid layout name: " + name);
 }
}
origin: com.moz.fiji.schema/fiji-schema

/**
 * Validates family names.
 */
private void validateNames() {
 // Validate family name.
 if (!FijiNameValidator.isValidLayoutName(mFamily)) {
  throw new FijiInvalidNameException(String.format(
    "Invalid family name: %s Name must match pattern: %s",
    mFamily, FijiNameValidator.VALID_LAYOUT_NAME_PATTERN));
 }
}
origin: com.moz.fiji.schema/fiji-schema

/**
 * Validates the names used in the URI.
 *
 * @throws FijiURIException if there is an invalid name in this URI.
 */
private void validateNames() {
 if ((mInstanceName != null) && !FijiNameValidator.isValidFijiName(mInstanceName)) {
  throw new FijiURIException(String.format(
    "Invalid Fiji URI: '%s' is not a valid Fiji instance name.", mInstanceName));
 }
 if ((mTableName != null) && !FijiNameValidator.isValidLayoutName(mTableName)) {
  throw new FijiURIException(String.format(
    "Invalid Fiji URI: '%s' is not a valid Fiji table name.", mTableName));
 }
}
com.moz.fiji.schema.utilFijiNameValidatorisValidLayoutName

Popular methods of FijiNameValidator

  • isValidAlias
  • isValidFijiName

Popular in Java

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • setScale (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JComboBox (javax.swing)
  • JLabel (javax.swing)
  • JPanel (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now