Class UtilPlist


  • public final class UtilPlist
    extends java.lang.Object
    File Utilities
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void writePlistFile​(java.util.Map<java.lang.String,​java.lang.Object> eoModelMap, java.lang.String eomodeldFullPath, java.lang.String filename, boolean useXml)
      Writes model information in the Apple EOModelBundle format.
      static void writePlistProperty​(java.lang.String name, java.lang.Object value, int indentLevel, java.io.PrintWriter writer)  
      static void writePlistPropertyMap​(java.util.Map<java.lang.String,​java.lang.Object> propertyMap, int indentLevel, java.io.PrintWriter writer, boolean appendComma)  
      static void writePlistPropertyMapXml​(java.util.Map<java.lang.String,​java.lang.Object> propertyMap, int indentLevel, java.io.PrintWriter writer)  
      static void writePlistPropertyValueList​(java.util.List<java.lang.Object> propertyValueList, int indentLevel, java.io.PrintWriter writer)  
      static void writePlistPropertyValueListXml​(java.util.List<java.lang.Object> propertyValueList, int indentLevel, java.io.PrintWriter writer)  
      static void writePlistPropertyXml​(java.lang.String name, java.lang.Object value, int indentLevel, java.io.PrintWriter writer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
    • Method Detail

      • writePlistProperty

        public static void writePlistProperty​(java.lang.String name,
                                              java.lang.Object value,
                                              int indentLevel,
                                              java.io.PrintWriter writer)
      • writePlistPropertyMap

        public static void writePlistPropertyMap​(java.util.Map<java.lang.String,​java.lang.Object> propertyMap,
                                                 int indentLevel,
                                                 java.io.PrintWriter writer,
                                                 boolean appendComma)
      • writePlistPropertyValueList

        public static void writePlistPropertyValueList​(java.util.List<java.lang.Object> propertyValueList,
                                                       int indentLevel,
                                                       java.io.PrintWriter writer)
      • writePlistPropertyXml

        public static void writePlistPropertyXml​(java.lang.String name,
                                                 java.lang.Object value,
                                                 int indentLevel,
                                                 java.io.PrintWriter writer)
      • writePlistPropertyMapXml

        public static void writePlistPropertyMapXml​(java.util.Map<java.lang.String,​java.lang.Object> propertyMap,
                                                    int indentLevel,
                                                    java.io.PrintWriter writer)
      • writePlistPropertyValueListXml

        public static void writePlistPropertyValueListXml​(java.util.List<java.lang.Object> propertyValueList,
                                                          int indentLevel,
                                                          java.io.PrintWriter writer)
      • writePlistFile

        public static void writePlistFile​(java.util.Map<java.lang.String,​java.lang.Object> eoModelMap,
                                          java.lang.String eomodeldFullPath,
                                          java.lang.String filename,
                                          boolean useXml)
                                   throws java.io.FileNotFoundException,
                                          java.io.UnsupportedEncodingException
        Writes 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:
        java.io.FileNotFoundException
        java.io.UnsupportedEncodingException