/** * @param aValue a string representation of Delegatees * @throws URISyntaxException when the specified string is not a valid list of cal-addresses */ public DelegatedTo(final String aValue) throws URISyntaxException { this(new AddressList(Strings.unquote(aValue))); }
/** * {@inheritDoc} */ public final String getValue() { return getDelegatees().toString(); }
private static void outAddrs(final JsonGenerator jgen, final AddressList al) throws Throwable { if (al.size() == 1) { jgen.writeString(al.iterator().next().toString()); return; } jgen.writeStartArray(); Iterator it = al.iterator(); while (it.hasNext()) { jgen.writeString(it.next().toString()); } jgen.writeEndArray(); } }
/** * Assert toString() produces identical address list string value. * @throws URISyntaxException */ public void testToString() throws URISyntaxException { AddressList addresses = new AddressList(value); assertEquals(value, addresses.toString()); }
/** * Assert three addresses parsed from value. * @throws URISyntaxException */ public void testSize() throws URISyntaxException { AddressList addresses = new AddressList(value); assertEquals(expectedSize, addresses.size()); }
/** * @param aValue a string representation of Delegators * @throws URISyntaxException when the specified string is not a valid list of cal-addresses */ public DelegatedFrom(final String aValue) throws URISyntaxException { this(new AddressList(Strings.unquote(aValue))); }
/** * {@inheritDoc} */ public final String getValue() { return getDelegators().toString(); }
/** * @param aValue a string representation of a group or list membership * @throws URISyntaxException when the specified string is not a valid list of (quoted) cal-addresses */ public Member(final String aValue) throws URISyntaxException { this(new AddressList(Strings.unquote(aValue))); }
/** * {@inheritDoc} */ public final String getValue() { return getGroups().toString(); }
/** * @param aValue a string representation of Delegators * @throws URISyntaxException when the specified string is not a valid list of cal-addresses */ public DelegatedFrom(final String aValue) throws URISyntaxException { this(new AddressList(Strings.unquote(aValue))); }
/** * {@inheritDoc} */ public final String getValue() { return getDelegators().toString(); }
/** * @param aValue a string representation of Delegators * @throws URISyntaxException when the specified string is not a valid list of cal-addresses */ public DelegatedFrom(final String aValue) throws URISyntaxException { this(new AddressList(Strings.unquote(aValue))); }
/** * {@inheritDoc} */ public final String getValue() { return getDelegatees().toString(); }
/** * @param aValue a string representation of a group or list membership * @throws URISyntaxException when the specified string is not a valid list of (quoted) cal-addresses */ public Member(final String aValue) throws URISyntaxException { this(new AddressList(Strings.unquote(aValue))); }
/** * {@inheritDoc} */ public final String getValue() { return getDelegators().toString(); }
/** * @param aValue a string representation of Delegators * @throws URISyntaxException when the specified string is not a valid list of cal-addresses */ public DelegatedFrom(final String aValue) throws URISyntaxException { this(new AddressList(Strings.unquote(aValue))); }
/** * {@inheritDoc} */ public final String getValue() { return getGroups().toString(); }
/** * @param aValue a string representation of a group or list membership * @throws URISyntaxException when the specified string is not a valid list of (quoted) cal-addresses */ public Member(final String aValue) throws URISyntaxException { this(new AddressList(Strings.unquote(aValue))); }
/** * {@inheritDoc} */ public final String getValue() { return getDelegatees().toString(); }
/** * @param aValue a string representation of Delegatees * @throws URISyntaxException when the specified string is not a valid list of cal-addresses */ public DelegatedTo(final String aValue) throws URISyntaxException { this(new AddressList(Strings.unquote(aValue))); }