Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
Milyn - Copyright (C) 2006 - 2010
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License (version 2.1) as published by the Free Software
Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details:
http://www.gnu.org/licenses/lgpl.txt
*/
package org.milyn.cdr;
import java.util.Collection;
import java.util.LinkedHashSet;
import java.util.StringTokenizer;
import java.util.Vector;
import org.milyn.delivery.ContentDeliveryConfig;
/**
* {@link ParameterDecoder} used to tokenize a parameter values into a {@link java.util.List}
* or {@link java.util.HashSet}.
*
* Tokenizes parameter values into a {@link java.util.List} (param-type="string-list")
* or {@link java.util.HashSet} (param-type="string-hashset") using {@link java.util.StringTokenizer}.
*
* Two default configurations of this decoder are pre-installed for all profiles. They're named
* "string-list" and "string-hashset".
*
*
Example Usage
* The following example illustrates use of the pre-installed "string-hashset" decoder:
*
* Configuration:
*