Package com.adobe.util
Class FileUtil
- java.lang.Object
-
- com.adobe.util.FileUtil
-
public class FileUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,String>getMapFromProperties(Properties properties)static PropertiesreadPropertiesFromClassPath(String configClassPath)static Optional<Properties>readPropertiesFromFile(String configFilePath)
-
-
-
Method Detail
-
getMapFromProperties
public static Map<String,String> getMapFromProperties(Properties properties)
-
readPropertiesFromFile
public static Optional<Properties> readPropertiesFromFile(String configFilePath) throws IOException
- Throws:
IOException
-
readPropertiesFromClassPath
public static Properties readPropertiesFromClassPath(String configClassPath) throws IOException
- Throws:
IOException
-
-