org.omnaest.utils.propertyfile.content.parser
Class PropertyFileContentWriter
java.lang.Object
org.omnaest.utils.propertyfile.content.parser.PropertyFileContentWriter
public class PropertyFileContentWriter
- extends Object
Offers functionality to write a given PropertyFileContent to disc.
- Author:
- Omnaest
- See Also:
PropertyFileContent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LINE_SEPARATOR_OS_DEFAULT
protected static final String LINE_SEPARATOR_OS_DEFAULT
PropertyFileContentWriter
public PropertyFileContentWriter()
writePropertyFileContentToFile
public static void writePropertyFileContentToFile(PropertyFileContent propertyFileContent,
File file,
String fileEncoding)
- Parameters:
propertyFileContent - file - - See Also:
PropertyFileContentParser
writePropertyFileContentToString
public static String writePropertyFileContentToString(PropertyFileContent propertyFileContent)
- Returns the
PropertyFileContent as String
- Parameters:
propertyFileContent -
- Returns:
- See Also:
PropertyFileContentParser
writePropertyFileContentToOutputStreamWriter
public static void writePropertyFileContentToOutputStreamWriter(PropertyFileContent propertyFileContent,
OutputStreamWriter outputStreamWriter)
- Parameters:
propertyFileContent - outputStreamWriter - - See Also:
PropertyFileContentParser
Copyright © 2013. All Rights Reserved.