Class Naming
java.lang.Object
fr.ens.biologie.genomique.eoulsan.core.Naming
This class contains methods to validate workflow object names.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.common.base.CharMatcher -
Method Summary
Modifier and TypeMethodDescriptionstatic StringtoValidName(String name) Convert a string to a valid name string that can be used for step id or data name.
-
Field Details
-
ASCII_LETTER_OR_DIGIT
public static final com.google.common.base.CharMatcher ASCII_LETTER_OR_DIGIT
-
-
Method Details
-
toValidName
Convert a string to a valid name string that can be used for step id or data name.- Parameters:
name- the name to convert- Returns:
- a string with only the name characters argument that are allowed by the file naming convention
-