Search Results
OK to copy?
Examples 1 through 8 of
8 (0.0010 seconds)
Class:
org.springframework.web.multipart.cos.CosMultipartHttpServletRequest
©,
Rating:
0% of 0,
C3
Class: org.apache.catalina.cluster.deploy.FileMessageFactory ©, Rating: 0% of 0, C1
Class: org.apache.catalina.cluster.deploy.FarmWarDeployer ©, Rating: 0% of 0, C1
Class: org.apache.batik.test.svg.AbstractRenderingAccuracyTest ©, Rating: 0% of 0, C1
Class: org.apache.batik.apps.rasterizer.SVGConverter ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool ©, Rating: 0% of 0, C3
Class: org.apache.catalina.servlets.CGIServlet ©, Rating: 0% of 0, C3
Class: org.apache.catalina.servlets.DefaultServlet ©, Rating: 0% of 0, C2
Class: org.apache.catalina.cluster.deploy.FileMessageFactory ©, Rating: 0% of 0, C1
104 this.openForWrite = openForWrite;
105 if ( openForWrite ) {
106 if (!file.exists()) file.createNewFile();
107 out = new FileOutputStream(f);
108 } else {
Class: org.apache.catalina.cluster.deploy.FarmWarDeployer ©, Rating: 0% of 0, C1
349 private boolean copy(File from, File to) {
350 try {
351 if ( !to.exists() ) to.createNewFile();
352 java.io.FileInputStream is = new java.io.FileInputStream(from);
353 java.io.FileOutputStream os = new java.io.FileOutputStream(to,false);
Class: org.apache.batik.test.svg.AbstractRenderingAccuracyTest ©, Rating: 0% of 0, C1
667 throws IOException {
668 if(!imgFile.exists()){
669 imgFile.createNewFile();
670 }
671 saveImage(img, new FileOutputStream(imgFile));
Class: org.apache.batik.apps.rasterizer.SVGConverter ©, Rating: 0% of 0, C1
1122 // the creation succeeds.
1123 try {
1124 file.createNewFile();
1125 } catch(IOException ioe) {
1126 return false;
Class: org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool ©, Rating: 0% of 0, C3
749 }
750 jarfile.getParentFile().mkdirs();
751 jarfile.createNewFile();
752
753 InputStream in = null;
Class: org.apache.catalina.servlets.CGIServlet ©, Rating: 0% of 0, C3
Class: org.apache.catalina.servlets.DefaultServlet ©, Rating: 0% of 0, C2
0482 String convertedResourcePath = path.replace('/', '.');
0483 File contentFile = new File(tempDir, convertedResourcePath);
0484 if (contentFile.createNewFile()) {
0485 // Clean up contentFile when Tomcat is terminated
0486 contentFile.deleteOnExit();
Result Page:
1