Class ICalendarUtilities
java.lang.Object
jfxtras.icalendarfx.utilities.ICalendarUtilities
Static utility methods used throughout iCalendar
- Author:
- David Bal
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic CharSequencefoldLine(CharSequence line) Folds lines at character 75 into multiple lines.static intgetPropertyNameIndex(String propertyLine) Deprecated.parseInlineElementsToListPair(String propertyLine) parse property content line into a parameter name/value map content line must have the property name stripped off the front For example, for the content line DTEND;TZID=Etc/GMT:20160306T103000Z the propertyLine must be ;TZID=Etc/GMT:20160306T103000Zstatic <T> Stream<T>
-
Field Details
-
PROPERTY_VALUE_KEY
- See Also:
-
-
Method Details
-
parseInlineElementsToListPair
parse property content line into a parameter name/value map content line must have the property name stripped off the front For example, for the content line DTEND;TZID=Etc/GMT:20160306T103000Z the propertyLine must be ;TZID=Etc/GMT:20160306T103000Z- Parameters:
propertyLine- - name-stripped property line- Returns:
- - map where key=parameter names as, value=parameter value
-
foldLine
Folds lines at character 75 into multiple lines. Follows rules in RFC 5545, 3.1 Content Lines, page 9. A space is added to the first character of the subsequent lines. doesn't break lines at escape characters- Parameters:
line- - content line- Returns:
- - folded content line
-
getPropertyNameIndex
Deprecated.Returns index where property name ends - after first ';' or ':' -
takeWhile
-