validateCsvFormat() — netty Function Reference
Architecture documentation for the validateCsvFormat() function in StringUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ae67d114_5152_cc14_46b9_e7077c89c39d["validateCsvFormat()"] 2bdecda8_5186_4936_ca05_ebee455a476a["StringUtil"] ae67d114_5152_cc14_46b9_e7077c89c39d -->|defined in| 2bdecda8_5186_4936_ca05_ebee455a476a 1601af67_9670_d4fa_3231_1425bfc5e176["CharSequence()"] 1601af67_9670_d4fa_3231_1425bfc5e176 -->|calls| ae67d114_5152_cc14_46b9_e7077c89c39d 9ae04130_cb77_ad88_9318_e6bd1d7cbcd4["length()"] ae67d114_5152_cc14_46b9_e7077c89c39d -->|calls| 9ae04130_cb77_ad88_9318_e6bd1d7cbcd4 style ae67d114_5152_cc14_46b9_e7077c89c39d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/StringUtil.java lines 564–577
private static void validateCsvFormat(CharSequence value) {
int length = value.length();
for (int i = 0; i < length; i++) {
switch (value.charAt(i)) {
case DOUBLE_QUOTE:
case LINE_FEED:
case CARRIAGE_RETURN:
case COMMA:
// If value contains any special character, it should be enclosed with double-quotes
throw newInvalidEscapedCsvFieldException(value, i);
default:
}
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does validateCsvFormat() do?
validateCsvFormat() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/StringUtil.java.
Where is validateCsvFormat() defined?
validateCsvFormat() is defined in common/src/main/java/io/netty/util/internal/StringUtil.java at line 564.
What does validateCsvFormat() call?
validateCsvFormat() calls 1 function(s): length.
What calls validateCsvFormat()?
validateCsvFormat() is called by 1 function(s): CharSequence.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free