File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
lib/src/main/kotlin/at/bitfire/synctools/icalendar/validation Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 66
77package at.bitfire.synctools.icalendar.validation
88
9+ /* *
10+ * This is a pre-processor for iCalendar lines that can detect and repair errors which
11+ * cannot be repaired on a higher level (because parsing alone would cause syntax
12+ * or other unrecoverable errors).
13+ */
914interface StreamPreprocessor {
1015
1116 /* *
12- * Fixes an iCalendar string.
17+ * Validates and potentially repairs an iCalendar string.
1318 *
14- * @param line full line of an iCalendar lines to validate / fix
19+ * @param line full line of an iCalendar lines to validate / fix (without line break)
1520 *
16- * @return the potentially fixed version of [line]
21+ * @return the potentially fixed version of [line] (without line break)
1722 */
1823 fun repairLine (line : String ): String
1924
You can’t perform that action at this time.
0 commit comments