Class JdkPropertiesManager
java.lang.Object
org.codehaus.mojo.properties.managers.JdkPropertiesManager
- All Implemented Interfaces:
PropertiesManager
Properties manager using JDK properties as backand.
-
Field Summary
Fields inherited from interface org.codehaus.mojo.properties.managers.PropertiesManager
DEFAULT_MANAGER_EXTENSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisExtensionSupport(String extension) Determinate if manager support resource by file extension.load(InputStream in) Load properties.voidsave(Properties properties, OutputStream out, String comments) Store propertiestoString()
-
Constructor Details
-
JdkPropertiesManager
public JdkPropertiesManager()
-
-
Method Details
-
isExtensionSupport
Description copied from interface:PropertiesManagerDeterminate if manager support resource by file extension.- Specified by:
isExtensionSupportin interfacePropertiesManager- Parameters:
extension- file extension- Returns:
- true if extension is supported
-
load
Description copied from interface:PropertiesManagerLoad properties.- Specified by:
loadin interfacePropertiesManager- Parameters:
in- input stream of properties resource- Returns:
- a properties
- Throws:
IOException- in case of IO problems
-
save
Description copied from interface:PropertiesManagerStore properties- Specified by:
savein interfacePropertiesManager- Parameters:
properties- properties to storeout- output stream of properties resourcecomments- a comments added to output resource- Throws:
IOException- in case of IO problems
-
toString
-