public final class XmlPropertiesFormatter extends Object implements org.springframework.format.Formatter<Properties>
Constructor and Description |
---|
XmlPropertiesFormatter(String encoding,
String emptyPropertiesToken) |
Modifier and Type | Method and Description |
---|---|
String |
getEmptyPropertiesToken() |
String |
getEncoding() |
XmlStringToPropertiesConverter |
getParser() |
PropertiesToXmlStringConverter |
getPrinter() |
Properties |
parse(String string,
Locale locale) |
String |
print(Properties properties,
Locale locale) |
public XmlPropertiesFormatter(String encoding, String emptyPropertiesToken)
public String print(Properties properties, Locale locale)
print
in interface org.springframework.format.Printer<Properties>
public Properties parse(String string, Locale locale)
parse
in interface org.springframework.format.Parser<Properties>
public String getEncoding()
public XmlStringToPropertiesConverter getParser()
public PropertiesToXmlStringConverter getPrinter()
public String getEmptyPropertiesToken()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.