public class ICSBufferedWriter extends Object
| Constructor and Description |
|---|
ICSBufferedWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendMultilineEncodedValue(StringBuilder buffer,
String value)
Append and encode \n to \\n in value.
|
void |
appendProperty(String propertyName,
String propertyValue)
Append single value property
|
void |
newLine()
Append CRLF.
|
String |
toString()
Get buffer as String
|
void |
write(String content)
Write content to buffer, do not split lines.
|
void |
writeLine(String line)
Write line to buffer, split lines at 75 characters.
|
void |
writeLine(String line,
boolean prefix)
Write line with or without continuation prefix.
|
public void write(String content)
content - ics contentpublic void writeLine(String line)
line - ics event linepublic void writeLine(String line, boolean prefix)
line - line contentprefix - continuation flagpublic void newLine()
public String toString()
public void appendProperty(String propertyName, String propertyValue)
propertyName - property namepropertyValue - property valueprotected void appendMultilineEncodedValue(StringBuilder buffer, String value)
buffer - line buffervalue - valueCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.