e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 10 of 1099 (0.0060 seconds)
Class: org.springframework.web.context.support.WebApplicationObjectSupportTests  ©, Rating: 0% of 0, C1

34 StaticWebApplicationContext wac = new StaticWebApplicationContext(); 35 wac.setServletContext(new MockServletContext()); 36 File tempDir = new File(""); 37 wac.getServletContext().setAttribute(WebUtils.TEMP_DIR_CONTEXT_ATTRIBUTE, tempDir); 38 wac.refresh();

Class: org.apache.tools.tar.TarEntryTest  ©, Rating: 0% of 0, C1

33 */ 34 public void testFileConstructor() { 35 new TarEntry(new java.io.File("/foo")); 36 } 37 }

Class: org.springframework.core.io.UrlResource  ©, Rating: 100% of 2, C1

76 77 public String getFilename() { 78 return new File(this.url.getFile()).getName(); 79 } 80

Class: org.apache.tools.ant.util.JAXPUtilsTest  ©, Rating: 100% of 1, C1

34 file = new File("d:\\jdk"); 35 } else { 36 file = new File("/user/local/bin"); 37 } 38 String systemid = JAXPUtils.getSystemId(file);

Class: org.apache.tools.ant.util.JAXPUtilsTest  ©, Rating: 0% of 0, C1

32 File file = null; 33 if ( File.separatorChar == '\\' ){ 34 file = new File("d:\\jdk"); 35 } else { 36 file = new File("/user/local/bin");

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

056 public FileSystemResource(String path) { 057 Assert.notNull(path, "path is required"); 058 this.file = new File(path); 059 this.path = path; 060 }

Class: org.apache.tools.ant.util.FlatFileNameMapper  ©, Rating: 0% of 0, C1

45 */ 46 public String[] mapFileName(String sourceFileName) { 47 return new String[] {new java.io.File(sourceFileName).getName()}; 48 } 49 }

Class: org.springframework.context.support.ResourceEntityResolver  ©, Rating: 0% of 0, C2

63 String decodedSystemId = URLDecoder.decode(systemId); 64 String givenUrl = new URL(decodedSystemId).toString(); 65 String systemRootUrl = new File("").toURL().toString(); 66 // try relative to resource base if currently in system root 67 if (givenUrl.startsWith(systemRootUrl)) {

Class: org.apache.catalina.ant.ValidatorTask  ©, Rating: 0% of 0, C2

080 } 081 082 File file = new File(path, Constants.ApplicationWebXml); 083 if ((!file.exists()) || (!file.canRead())) { 084 throw new BuildException("Cannot find web.xml");

Class: org.apache.jk.config.GeneratorJk1  ©, Rating: 0% of 0, C1

066 public void generateStart( ) throws IOException { 067 File base=wxml.getJkDir(); 068 File outF=new File(base, "jk.conf"); 069 out=new PrintWriter( new FileWriter( outF )); 070

Result Page:  1.0  |  2.0  |  3.0  |  4.0  |  5.0  |  6.0  |  7.0  |  8.0  |  9.0  |  10.0   Next