Method getName()
Return type: java.lang.String
Member of: java.io.File
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return file1.getName().compareTo(file2.getName());
2 if (f.getName().equals(name)) return f;
3 parts.add(new Entry(source.getName(), source));
4 errln("cmp: EOF on " + f.getName());
5 return projectsDir.equals (projectFile.getName ());
6 _directoryName = file.getParentFile().getName();
7 return new File(file.getParent(), file.getName()+".bak");
8 mf = new File(f.getParent(), ".nfile-meta-" + f.getName());
9 if (f.getName().endsWith(".jar") || f.getName().endsWith(".zip"))
10 lblSrc.setText(" ".concat(f.getName().concat(" ")));
11 if (file.getName().endsWith(".class")) {
12 Controller.copyFile(sf, new File(root+destPath, sf.getName()));
13 return f.getName().toLowerCase().endsWith(m_extension);
14 generatedJarName.setText(jarFile.getName());
15 super(file.getName());
16 System.out.println("entry is evicting: " + entry.getFile().getName());
17 File backup = new File(file.getParentFile(), file.getName() + ".backup");
18 } else if (f.getName().endsWith(".wsdd")) {
19 String name= textArea.getFile().getName();
20 return f.getName().toLowerCase().endsWith(".jar");
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.