Search Results
OK to copy?
Examples 1 through 10 of
373 (0.0040 seconds)
Class:
org.springframework.beans.propertyeditors.ByteArrayPropertyEditor
©,
Rating:
0% of 0,
C1
jgoodies_binding Class: com.jgoodies.binding.tests.value.CloningValueHolder ©, Rating: 0% of 0, C1
Class: org.springframework.web.multipart.support.StringMultipartFileEditor ©, Rating: 0% of 0, C1
Class: org.springframework.web.multipart.support.StringMultipartFileEditor ©, Rating: 0% of 0, C1
Class: org.apache.catalina.util.MD5Encoder ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.security.BasicSecurityFilter ©, Rating: 0% of 0, C2
Class: org.htmlparser.tests.scannersTests.InputTagScannerTest ©, Rating: 0% of 0, C1
Class: org.htmlparser.tests.tagTests.DoctypeTagTest ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.security.CredentialCookie ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.security.CredentialCookie ©, Rating: 0% of 0, C1
34 public String getAsText() {
35 byte[] value = (byte[]) getValue();
36 return (value != null ? new String(value) : "null");
37 }
38
jgoodies_binding Class: com.jgoodies.binding.tests.value.CloningValueHolder ©, Rating: 0% of 0, C1
50 public Object getValue() {
51 if (value instanceof String) {
52 return new String((String) value);
53 } else if (value instanceof Integer) {
54 return new Integer(((Integer) value).intValue());
Class: org.springframework.web.multipart.support.StringMultipartFileEditor ©, Rating: 0% of 0, C1
56 MultipartFile multipartFile = (MultipartFile) value;
57 try {
58 super.setValue(this.charsetName != null ?
59 new String(multipartFile.getBytes(), this.charsetName) :
60 new String(multipartFile.getBytes()));
Class: org.springframework.web.multipart.support.StringMultipartFileEditor ©, Rating: 0% of 0, C1
56 MultipartFile multipartFile = (MultipartFile) value;
57 try {
58 super.setValue(this.charsetName != null ?
59 new String(multipartFile.getBytes(), this.charsetName) :
60 new String(multipartFile.getBytes()));
Class: org.apache.catalina.util.MD5Encoder ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.security.BasicSecurityFilter ©, Rating: 0% of 0, C2
36 credentials = credentials.substring(BASIC_PREFIX.length());
37 if (credentials != null) {
38 String[] userIdAndPassword = new String(Base64.decode(credentials.getBytes())).split(":");
39 try {
40 authenticator.authenticate(request, userIdAndPassword[0], userIdAndPassword[1]);
Class: org.htmlparser.tests.scannersTests.InputTagScannerTest ©, Rating: 0% of 0, C1
41 {
42
43 private String testHTML =
44 new String("<INPUT type=\"text\" name=\"Google\">");
45 private InputTagScanner scanner;
Class: org.htmlparser.tests.tagTests.DoctypeTagTest ©, Rating: 0% of 0, C1
47 public void testToHTML() throws ParserException
48 {
49 String testHTML =
50 new String(
51 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n"
Class: com.technoetic.xplanner.security.CredentialCookie ©, Rating: 0% of 0, C1
42
43 public String getPassword() {
44 return password != null
45 ? new String(Base64.decode(password.getValue().getBytes()))
46 : null;
Class: com.technoetic.xplanner.security.CredentialCookie ©, Rating: 0% of 0, C1
24 public void set(String userId, String password) {
25 response.addCookie(createCookie(CredentialCookie.USERID_COOKIE_NAME, userId));
26 response.addCookie(createCookie(CredentialCookie.PASSWORD_COOKIE_NAME,
27 new String(Base64.encode(password.getBytes()))));
28 }