Package com.atlassian.jira.util
Class CsvUtils
java.lang.Object
com.atlassian.jira.util.CsvUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
removeColumnsThatStartWith
(String csvString, String prefix) Removes columns that start with prefix.
-
Method Details
-
removeColumnsThatStartWith
Removes columns that start with prefix. Preserves original file format and supports multiline rows in any configuration.- Parameters:
csvString
- represents CSV file, usually file contents.prefix
- that a column should start with to be marked for removal.- Returns:
- csv string with removed columns in its original form (preserving multiline rows in any configuration).
-