com.croftsoft.apps.text
Class ReplaceText
java.lang.Object
com.croftsoft.apps.text.ReplaceText
public class ReplaceText
- extends Object
Replaces text in a file.
Command line:
java com.croftsoft.apps.text.ReplaceText fileName oldString newString
- Version:
- 1999-08-15
- Author:
- David W. Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplaceText
public ReplaceText()
main
public static void main(String[] args)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
replaceText
public static void replaceText(String fileName,
String oldString,
String newString)
throws FileNotFoundException,
IOException
- Calls FileLib.replaceStrings(file, oldString, newString).
- Throws:
FileNotFoundException
IOException
CroftSoft Apps Javadoc (2008-09-28 21:15:07)