e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 9 of 9 (0.0020 seconds)
Class: org.springframework.core.io.support.PathMatchingResourcePatternResolver  ©, Rating: 0% of 0, C2

371 boolean dirDepthNotFixed = (fullPattern.indexOf("**") != -1); 372 for (int i = 0; i < dirContents.length; i++) { 373 String currPath = StringUtils.replace(dirContents[i].getAbsolutePath(), File.separator, "/"); 374 if (dirContents[i].isDirectory() && 375 (dirDepthNotFixed ||

Class: org.springframework.core.io.support.PathMatchingResourcePatternResolver  ©, Rating: 0% of 0, C1

345 fullPattern += "/"; 346 } 347 fullPattern = fullPattern + StringUtils.replace(pattern, File.separator, "/"); 348 List result = new LinkedList(); 349 doRetrieveMatchingFiles(fullPattern, rootDir, result);

Class: org.springframework.core.io.support.PathMatchingResourcePatternResolver  ©, Rating: 0% of 0, C1

341 throw new IllegalArgumentException("'rootDir' parameter [" + rootDir + "] does not denote a directory"); 342 } 343 String fullPattern = StringUtils.replace(rootDir.getAbsolutePath(), File.separator, "/"); 344 if (!pattern.startsWith("/")) { 345 fullPattern += "/";

Class: org.springframework.util.StringUtilsTests  ©, Rating: 0% of 0, C1

102 103 // Null old pattern: should ignore 104 s = StringUtils.replace(inString, null, newPattern); 105 assertTrue("Replace non matched is equal", s.equals(inString)); 106 }

Class: org.springframework.util.StringUtilsTests  ©, Rating: 0% of 0, C1

098 099 // Null new pattern: should ignore 100 s = StringUtils.replace(inString, oldPattern, null); 101 assertTrue("Replace non matched is equal", s.equals(inString)); 102

Class: org.springframework.util.StringUtilsTests  ©, Rating: 0% of 0, C1

094 095 // Non match: no change 096 s = StringUtils.replace(inString, "qwoeiruqopwieurpoqwieur", newPattern); 097 assertTrue("Replace non matched is equal", s.equals(inString)); 098

Class: org.springframework.util.StringUtilsTests  ©, Rating: 0% of 0, C1

090 091 // Simple replace 092 String s = StringUtils.replace(inString, oldPattern, newPattern); 093 assertTrue("Replace 1 worked", s.equals("a6AazAfoo77abfoo")); 094

Class: org.springframework.util.StringUtils  ©, Rating: 0% of 0, C2

530 */ 531 public static String cleanPath(String path) { 532 String pathToUse = replace(path, WINDOWS_FOLDER_SEPARATOR, FOLDER_SEPARATOR); 533 String[] pathArray = delimitedListToStringArray(pathToUse, FOLDER_SEPARATOR); 534 List pathElements = new LinkedList();

Class: org.springframework.util.StringUtils  ©, Rating: 0% of 0, C1

191 */ 192 public static String delete(String inString, String pattern) { 193 return replace(inString, pattern, ""); 194 } 195

Result Page:  1.0