Subversion Repositories XServices

Rev

Rev 115 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 115 Rev 177
Line 18... Line 18...
18
 
18
 
19
import java.util.ArrayList;
19
import java.util.ArrayList;
20
import java.util.StringTokenizer;
20
import java.util.StringTokenizer;
21
import java.util.regex.Matcher;
21
import java.util.regex.Matcher;
-
 
22
import java.util.regex.Pattern;
22
import java.util.regex.Pattern;
23
 
-
 
24
import javax.jws.WebService;
23
import javax.jws.WebService;
25
 
24
import net.brutex.xservices.types.StringMatchType;
26
import net.brutex.xservices.types.StringMatchType;
25
import net.brutex.xservices.types.StringReplaceType;
27
import net.brutex.xservices.types.StringReplaceType;
26
import net.brutex.xservices.types.StringSplitType;
28
import net.brutex.xservices.types.StringSplitType;
27
import net.brutex.xservices.ws.StringService;
29
import net.brutex.xservices.ws.StringService;
-
 
30
import net.brutex.xservices.ws.XServicesFault;
28
import net.brutex.xservices.ws.XServicesFault;
31
 
29
import org.apache.commons.lang3.StringEscapeUtils;
32
import org.apache.commons.lang3.StringEscapeUtils;
30
import org.apache.commons.lang3.text.translate.CharSequenceTranslator;
33
import org.apache.commons.lang3.text.translate.CharSequenceTranslator;
Line 31... Line 34...
31
import org.apache.commons.lang3.text.translate.NumericEntityEscaper;
34
import org.apache.commons.lang3.text.translate.NumericEntityEscaper;
Line 94... Line 97...
94
		while(tk.hasMoreTokens()) {
97
		while(tk.hasMoreTokens()) {
95
			result.addStringMatch( tk.nextToken() );
98
			result.addStringMatch( tk.nextToken() );
96
		}
99
		}
97
		return result;
100
		return result;
98
	}
101
	}
-
 
102
  
-
 
103
  @Override
-
 
104
	public String removeCRLF(String paramString) throws XServicesFault {
-
 
105
		String value = paramString.replaceAll("[\r\n]", "");
-
 
106
		return value;
-
 
107
	}
Line 99... Line 108...
99
 
108
 
100
  private int getFlags(String flags) {
109
  private int getFlags(String flags) {
101
    int allflags = 0;
110
    int allflags = 0;
102
    if (flags.contains("i")) {
111
    if (flags.contains("i")) {