Package net.fortuna.ical4j.vcard
Class VCardBuilder
- java.lang.Object
-
- net.fortuna.ical4j.vcard.VCardBuilder
-
public final class VCardBuilder extends Object
vCard object builder. $Id$ Created on: 02/11/2008
-
-
Constructor Summary
Constructors Constructor Description VCardBuilder(InputStream in)
VCardBuilder(Reader in)
VCardBuilder(Reader in, GroupRegistry registry, PropertyFactoryRegistry propertyFactoryRegistry, ParameterFactoryRegistry parameterFactoryRegistry)
Deprecated.VCardBuilder(Reader in, GroupRegistry registry, VCardBuilderContext vCardBuilderContext)
-
-
-
Constructor Detail
-
VCardBuilder
public VCardBuilder(InputStream in)
- Parameters:
in
- an input stream providing vCard data
-
VCardBuilder
public VCardBuilder(Reader in)
- Parameters:
in
- a reader providing vCard data
-
VCardBuilder
@Deprecated public VCardBuilder(Reader in, GroupRegistry registry, PropertyFactoryRegistry propertyFactoryRegistry, ParameterFactoryRegistry parameterFactoryRegistry)
Deprecated.- Parameters:
in
- a reader providing vCard dataregistry
- a group registry used to construct vCard objectspropertyFactoryRegistry
- a property factory registry used to construct vCard objectsparameterFactoryRegistry
- a parameter factory registry used to construct vCard objects
-
VCardBuilder
public VCardBuilder(Reader in, GroupRegistry registry, VCardBuilderContext vCardBuilderContext)
- Parameters:
in
- a reader providing vCard dataregistry
- a group registry used to construct vCard objects
-
-
Method Detail
-
build
public VCard build() throws IOException, ParserException
- Returns:
- a new vCard object instance
- Throws:
IOException
- where a problem occurs reading vCard dataParserException
- where parsing vCard data fails
-
buildAll
public List<VCard> buildAll() throws IOException, ParserException
- Returns:
- a list of vCard object instances
- Throws:
IOException
- where a problem occurs reading vCard dataParserException
- where parsing vCard data fails
-
-