public class DuplicatePropertiesKeyInspector extends Object
DuplicatePropertiesKeyInspector.| Constructor and Description |
|---|
DuplicatePropertiesKeyInspector(File propertiesFile)
Instantiates a new duplicate properties key finder.
|
DuplicatePropertiesKeyInspector(InputStream inputStream)
Instantiates a new duplicate properties key finder.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,List<String>> |
findRedundantValues(Properties properties)
Finds redundant values from the given Properties object and saves it to a Map.
|
KeyValueLists |
getResult()
Gets the result.
|
public DuplicatePropertiesKeyInspector(File propertiesFile) throws IOException
propertiesFile - the properties fileIOException - Signals that an I/O exception has occurred.public DuplicatePropertiesKeyInspector(InputStream inputStream) throws IOException
inputStream - the input streamIOException - Signals that an I/O exception has occurred.public static Map<String,List<String>> findRedundantValues(Properties properties)
properties - The Properties to check.public KeyValueLists getResult()
Copyright © 2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.