public final class PropertiesUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Properties |
readProperties(File file) |
static Properties |
readProperties(InputStream inputStream)
This is terminal method for
inputStream.After properties loading it closes inputStream
with InputStream.close() method. |
public static Properties readProperties(File file)
public static Properties readProperties(InputStream inputStream)
inputStream.inputStream
with InputStream.close() method.inputStream - stream, containing pairs of key=value propertiesPropertiesProperties.load(InputStream),
InputStream.close()Copyright © 2017 QATools. All Rights Reserved.