Class VCard.AddressLabel

  • Enclosing class:
    VCard

    public static class VCard.AddressLabel
    extends Object
    Represents the formatted text corresponding to a delivery address.
    • Constructor Detail

      • AddressLabel

        public AddressLabel​(String... addressLine)
        Creates a default address label for an international, postal, parcel and work address.
        Parameters:
        addressLine - The address label lines.
      • AddressLabel

        public AddressLabel​(boolean preferred,
                            boolean home,
                            boolean work,
                            boolean postal,
                            boolean parcel,
                            boolean international,
                            String... addressLine)
        Creates an address label.
        Parameters:
        preferred - If it is a preferred address.
        home - If it is a home address.
        work - If it is a work address.
        postal - If it is a postal address.
        parcel - If it is a parcel address.
        international - If it is a international address.
        addressLine - The address label lines.