Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • VCard

        public VCard()
    • 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)