|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.nih.nlm.nls.utils.Dos2Unix
Converts dos files to unix ascii format.
| Constructor Summary | |
Dos2Unix()
|
|
| Method Summary | |
static void |
copyFileRemoveCrs(java.lang.String pSourceFile,
java.lang.String pTargetFile)
copyFileRemoveCrs copies the contents of file A to file B and strips out carriage returns. |
static void |
main(java.lang.String[] args)
Command line front end for copyFileRemoveCrs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Dos2Unix()
| Method Detail |
public static void copyFileRemoveCrs(java.lang.String pSourceFile,
java.lang.String pTargetFile)
throws java.io.IOException,
java.io.FileNotFoundException
pSourceFile - source file.pTargetFile - destination file.
java.io.IOException - error reading or writing files
java.io.FileNotFoundException - error opening file, not found.
public static void main(java.lang.String[] args)
throws java.io.IOException,
java.io.FileNotFoundException
args - command line arguments
java.io.IOException
java.io.FileNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||