Class Util
java.lang.Object
de.siegmar.fastcsv.util.Util
Internal utility class.
It is not a part of the API!
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancontainsDupe(char... chars) Checks if the given array of characters contains any duplicate characters.static booleancontainsNewline(String str) Checks if the given string contains any newline characters.static booleanisNewline(char character) Checks if the given character is a newline character.
-
Field Details
-
CR
public static final char CRCarriage return.- See Also:
-
LF
public static final char LFLine feed.- See Also:
-
-
Method Details
-
containsDupe
public static boolean containsDupe(char... chars) Checks if the given array of characters contains any duplicate characters.- Parameters:
chars- the array of characters to check for duplicates- Returns:
trueif any character appears more than once in the array,falseotherwise
-
isNewline
-
containsNewline
-