Search Results
OK to copy?
Examples 1 through 10 of
457 (0.046 seconds)
Class:
org.springframework.beans.propertyeditors.FileEditor
©,
Rating:
0% of 0,
C1
Class: org.apache.tools.ant.util.LoaderUtilsTest ©, Rating: 0% of 0, C1
Class: org.springframework.core.io.FileSystemResource ©, Rating: 0% of 0, C1
Class: org.springframework.core.io.FileSystemResource ©, Rating: 0% of 0, C1
Class: org.htmlparser.tests.codeMetrics.LineCounter ©, Rating: 0% of 0, C2
Class: org.springframework.web.servlet.view.velocity.VelocityConfigurerTests ©, Rating: 0% of 0, C1
Class: org.springframework.web.servlet.view.velocity.VelocityConfigurerTests ©, Rating: 0% of 1, C1
Class: org.apache.jmeter.gui.util.FileDialoger ©, Rating: 0% of 0, C2
Class: org.apache.jmeter.gui.util.FileDialoger ©, Rating: 0% of 0, C2
Class: org.apache.jmeter.gui.util.FileDialoger ©, Rating: 0% of 0, C2
42 public String getAsText() {
43 if (getValue() != null) {
44 return ((File) getValue()).getAbsolutePath();
45 }
46 else {
Class: org.apache.tools.ant.util.LoaderUtilsTest ©, Rating: 0% of 0, C1
Class: org.springframework.core.io.FileSystemResource ©, Rating: 0% of 0, C1
086
087 public String getDescription() {
088 return "file [" + this.file.getAbsolutePath() + "]";
089 }
090
Class: org.springframework.core.io.FileSystemResource ©, Rating: 0% of 0, C1
069
070 public URL getURL() throws IOException {
071 return new URL(ResourceUtils.URL_PROTOCOL_FILE + ":" + this.file.getAbsolutePath());
072 }
073
Class: org.htmlparser.tests.codeMetrics.LineCounter ©, Rating: 0% of 0, C2
070 try
071 {
072 BufferedReader reader =
073 new BufferedReader(new FileReader(file.getAbsolutePath()));
074 String line = null;
Class: org.springframework.web.servlet.view.velocity.VelocityConfigurerTests ©, Rating: 0% of 0, C1
104 assertTrue(vc.createVelocityEngine() instanceof VelocityEngine);
105 VelocityEngine ve = vc.createVelocityEngine();
106 assertEquals(new File("/mydir").getAbsolutePath(), ve.getProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH));
107 }
108
Class: org.springframework.web.servlet.view.velocity.VelocityConfigurerTests ©, Rating: 0% of 1, C1
078 assertTrue(vefb.getObject() instanceof VelocityEngine);
079 VelocityEngine ve = (VelocityEngine) vefb.getObject();
080 assertEquals(new File("/mydir").getAbsolutePath(), ve.getProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH));
081 }
082
Class: org.apache.jmeter.gui.util.FileDialoger ©, Rating: 0% of 0, C2
139 int retVal =
140 jfc.showSaveDialog(GuiPackage.getInstance().getMainFrame());
141 lastJFCDirectory = jfc.getCurrentDirectory().getAbsolutePath();
142 if (retVal == JFileChooser.APPROVE_OPTION)
143 {
Class: org.apache.jmeter.gui.util.FileDialoger ©, Rating: 0% of 0, C2
122 jfc = new JFileChooser(new File(start));
123 }
124 lastJFCDirectory = jfc.getCurrentDirectory().getAbsolutePath();
125 }
126 String ext = ".jmx";
Class: org.apache.jmeter.gui.util.FileDialoger ©, Rating: 0% of 0, C2
075 int retVal =
076 jfc.showOpenDialog(GuiPackage.getInstance().getMainFrame());
077 lastJFCDirectory = jfc.getCurrentDirectory().getAbsolutePath();
078
079 if (retVal == JFileChooser.APPROVE_OPTION)