Package org.apache.ofbiz.sfa.vcard
Class VCard
- java.lang.Object
-
- org.apache.ofbiz.sfa.vcard.VCard
-
public class VCard extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
static java.lang.String
resourceError
-
Constructor Summary
Constructors Constructor Description VCard()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
exportVCard(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
importVCard(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
import a vcard from byteBuffer.
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resourceError
public static final java.lang.String resourceError
- See Also:
- Constant Field Values
-
-
Method Detail
-
importVCard
public static java.util.Map<java.lang.String,java.lang.Object> importVCard(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context) throws java.io.IOException
import a vcard from byteBuffer. the reader use is ez-vcard, see official site https://github.com/mangstadt/ez-vcard/- Parameters:
dctx
-context
-- Returns:
- Throws:
java.io.IOException
-
exportVCard
public static java.util.Map<java.lang.String,java.lang.Object> exportVCard(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
-