public class WriteContext extends Object
Constructor and Description |
---|
WriteContext(VCardVersion version,
TargetApplication targetApplication,
boolean includeTrailingSemicolons) |
Modifier and Type | Method and Description |
---|---|
TargetApplication |
getTargetApplication()
Gets the application that the vCard is being targeted for.
|
VCardVersion |
getVersion()
Gets the version that the vCard should adhere to.
|
boolean |
isIncludeTrailingSemicolons()
Gets whether to include trailing semicolon delimiters for structured
property values whose list of values end with null or empty values.
|
public WriteContext(VCardVersion version, TargetApplication targetApplication, boolean includeTrailingSemicolons)
version
- the version that the vCard should adhere totargetApplication
- the application that the vCard is being targeted
for or null not to target any specific applicationincludeTrailingSemicolons
- true to include trailing semicolon
delimiters for structured property values whose list of values end with
null or empty values, false not topublic VCardVersion getVersion()
public TargetApplication getTargetApplication()
public boolean isIncludeTrailingSemicolons()
Copyright © 2012–2023 Michael Angstadt. All rights reserved.