|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gisgraphy.helper.FileLineFilter
public class FileLineFilter
Create a filter that take a file and remove all the line that contain some specific string
Constructor Summary | |
---|---|
FileLineFilter(java.lang.String[] stringToFilter)
|
Method Summary | |
---|---|
void |
filter(java.io.File originalFile,
java.io.File destFile)
All the lines that contains the word or sentence of the filter will be deleted, the result file will be written in the destFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileLineFilter(java.lang.String[] stringToFilter)
stringToFilter
- All the lines that contains the word or sentence will be
filteredMethod Detail |
---|
public void filter(java.io.File originalFile, java.io.File destFile)
originalFile
- The file to filterdestFile
- The filtered file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |