java.lang.Object
jfxtras.icalendarfx.utilities.ICalendarUtilities
Static utility methods used throughout iCalendar
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CharSequence
foldLine
(CharSequence line) Folds lines at character 75 into multiple lines.static int
getPropertyNameIndex
(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:20160306T103000Z(package private) static <T> Spliterator<T>
takeWhile
(Spliterator<T> splitr, Predicate<? super T> predicate) static <T> Stream<T>
-
Field Details
-
PROPERTY_VALUE_KEY
- See Also:
-
-
Constructor Details
-
ICalendarUtilities
private ICalendarUtilities()
-
-
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
-
takeWhile
-