private void putProperties(Map<String, String> properties) { put(PROPERTIES, PropertiesHelper.toString(PropertiesHelper.asProperties(properties))); }
/** * Returns the properties associated with the token. * * @return the properties associated with the token */ public Map<String, String> getProperties() { String propStr = get(PROPERTIES); if (propStr == null) { return ImmutableMap.of(); } return Maps.fromProperties(PropertiesHelper.fromString(propStr)); }