public class PropertiesFileUtils extends Object
| Constructor and Description |
|---|
PropertiesFileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map<File,Map<String,List<String>>> |
getRedundantKeys(File dirToSearch)
Gets the redundant keys in properties files from the given directory.
|
static File |
newBackupOf(File file)
Creates a backup file from the given properties file.
|
static List<String> |
removeComments(File propertiesFile)
Removes the comments from the given properties file.
|
public static Map<File,Map<String,List<String>>> getRedundantKeys(File dirToSearch) throws IOException
dirToSearch - the dir to searchIOException - Signals that an I/O exception has occurred.public static File newBackupOf(File file) throws IOException
file - the fileIOException - Signals that an I/O exception has occurred.public static List<String> removeComments(File propertiesFile) throws IOException
propertiesFile - the properties fileIOException - Signals that an I/O exception has occurred.Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.