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
writePlistPropertyMap
(Map<String, Object> propertyMap, int indentLevel, PrintWriter writer, boolean appendComma)
-
Method Details
-
writePlistPropertyMap
public static void writePlistPropertyMap(Map<String, Object> propertyMap, int indentLevel, PrintWriter writer, boolean appendComma) -
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
-