public class FileEditor extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LINE_SEP |
static String |
STR_TEMP_FILE_SUFFIX |
Constructor and Description |
---|
FileEditor(String fileName) |
Modifier and Type | Method and Description |
---|---|
boolean |
deleteLines(DeletePattern pattern) |
boolean |
deleteLines(Set matchPatterns) |
Map |
getPatternOccurences(Set matchPatterns) |
public static final String LINE_SEP
public static final String STR_TEMP_FILE_SUFFIX
public FileEditor(String fileName)
public boolean deleteLines(Set matchPatterns) throws Exception
matchPatterns
- a Set of DeletePatternsException
public boolean deleteLines(DeletePattern pattern) throws Exception
Exception
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.