Package fr.gouv.vitam.collect.internal.core.csv

# Class FieldNameValidationUtils

java.lang.Object
fr.gouv.vitam.collect.internal.core.csv.FieldNameValidationUtils

public class FieldNameValidationUtils extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `MAX_FIELD_NAME_LENGTH`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `validateRegularVitamFieldName(String fieldName)`
  Validate regular Vitam field name (too long, empty, '.' separator, spaces, unprintable chars, does not start with '_' / '-' / digit...)

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### MAX_FIELD_NAME_LENGTH

    public static final int MAX_FIELD_NAME_LENGTH
    See Also:
      - Constant Field Values

- ## Method Details

  - ### validateRegularVitamFieldName

    public static void validateRegularVitamFieldName(String fieldName) throws IllegalArgumentException
    Validate regular Vitam field name (too long, empty, '.' separator, spaces, unprintable chars, does not start with '_' / '-' / digit...)
    Throws:
      `IllegalArgumentException` - if validation fails