|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.tools.Strip
public class Strip
Strip Windows (cr/lf) Text files to Unix (cr) Text files
| Constructor Summary | |
|---|---|
Strip()
Constructor |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Strip file in args |
boolean |
strip(File infile,
File outfile)
Strip infile to outfile |
boolean |
strip(String infile,
String outfile)
Strip infile to outfile |
void |
stripDirectory(String directory,
String nameMustContain)
Strip a directory (and its subdirectories recursively) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Strip()
| Method Detail |
|---|
public void stripDirectory(String directory,
String nameMustContain)
directory - directorynameMustContain - file name must include characters - e.g. .sh
(do not include wildcards like *). If null, all files are stripped
public boolean strip(String infile,
String outfile)
infile - input fileoutfile - (can be null)
public boolean strip(File infile,
File outfile)
infile - input fileoutfile - if the output file is null, the infile is renamed to ".bak"
public static void main(String[] args)
args - infile outfile
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||