Method replace(char oldChar, char newChar)
Return type: java.lang.String
Member of: java.lang.String
[api documentation ] [ main menu]

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

1 String name = _name.replace('.', '/') + ".class";
2 return parent.getLocale().toString().replace('_', '-');
3 ClazzNodeTest.delete(DST_PACKAGE.replace('.', '/') + '/' + NAME_TEST_FILE + ".ser"); //NOI18N
4 text = text.replace( (char) 9, ' ' );
5 String name = _name.replace('.', '/') + ".class";
6 return JavaCompletion.getSimpleClass(className.replace('$', '.'),
7 String packPath= pack.getElementName().replace('.', '/');
8 String name = className.replace('.','/');
9 content = content.replace('\t',' ').replace('\n',' ');
10 uri = uri.replace('\\', '/');
11 String editedString = this.getText().replace(',', '.');
12 String clsFile = name.replace('.', '/') + ".class";
13 String name = loc.toString().replace('_', '-');
14 String klassPath = klass.replace('.', '/') + ".class";
15 this.show=show.replace(' ', '+');
16 this.clazz = "cs_" + name.replace('-', '_').toUpperCase();
17 String resourceName = theClassName.replace('.', '/') + ".class";
18 String key = lookupName.replace('.', '_');
19 text = text.replace('\n', ' ');
20 new URL("file:" + uriRoot.replace('\\','/') + '/'));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.