Package org.apache.ofbiz.base.util
Class UtilPlist
java.lang.Object
org.apache.ofbiz.base.util.UtilPlist
File Utilities
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
writePlistFile
(Map<String, Object> eoModelMap, String eomodeldFullPath, String filename, boolean useXml) Writes model information in the Apple EOModelBundle format.static void
writePlistProperty
(String name, Object value, int indentLevel, PrintWriter writer) static void
writePlistPropertyMap
(Map<String, Object> propertyMap, int indentLevel, PrintWriter writer, boolean appendComma) static void
writePlistPropertyMapXml
(Map<String, Object> propertyMap, int indentLevel, PrintWriter writer) static void
writePlistPropertyValueList
(List<Object> propertyValueList, int indentLevel, PrintWriter writer) static void
writePlistPropertyValueListXml
(List<Object> propertyValueList, int indentLevel, PrintWriter writer) static void
writePlistPropertyXml
(String name, Object value, int indentLevel, PrintWriter writer)
-
Method Details
-
writePlistProperty
public static void writePlistProperty(String name, Object value, int indentLevel, PrintWriter writer) -
writePlistPropertyMap
public static void writePlistPropertyMap(Map<String, Object> propertyMap, int indentLevel, PrintWriter writer, boolean appendComma) -
writePlistPropertyValueList
public static void writePlistPropertyValueList(List<Object> propertyValueList, int indentLevel, PrintWriter writer) -
writePlistPropertyXml
public static void writePlistPropertyXml(String name, Object value, int indentLevel, PrintWriter writer) -
writePlistPropertyMapXml
public static void writePlistPropertyMapXml(Map<String, Object> propertyMap, int indentLevel, PrintWriter writer) -
writePlistPropertyValueListXml
public static void writePlistPropertyValueListXml(List<Object> propertyValueList, int indentLevel, PrintWriter writer) -
writePlistFile
public static void writePlistFile(Map<String, Object> eoModelMap, String eomodeldFullPath, String filename, boolean useXml) throws FileNotFoundException, UnsupportedEncodingExceptionWrites model information in the Apple EOModelBundle format. For document structure and definition see: http://developer.apple.com/documentation/InternetWeb/Reference/WO_BundleReference/Articles/EOModelBundle.html- Parameters:
eoModelMap
-eomodeldFullPath
-filename
-- Throws:
FileNotFoundException
UnsupportedEncodingException
-