Skip to content

Commit 1f7298a

Browse files
committed
KDoc
1 parent 43cbcc3 commit 1f7298a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

lib/src/main/kotlin/at/bitfire/synctools/icalendar/validation/StreamPreprocessor.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@
66

77
package 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+
*/
914
interface 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

0 commit comments

Comments
 (0)