示例#1
0
        private void saveToFile(String szName)
        {
            m_mapChangedValues.put(szName, getString(szName));

            String strData = saveChangesToString();

            CRhoFile.writeStringToFile(getConfFilePath() + CONF_CHANGES, strData);
        }
示例#2
0
        private static void copyMap(String strMap)
        {
            string[] files = strMap.Split('\n');

            for (int i = 0; i < files.Length - 1; i++)
            {
                String[] values = files[i].Split('|');

                String strFile = values[0];
                CRhoFile.recursiveCreateDir(strFile);
                CRhoFile.writeDataToFile(strFile, CRhoFile.readResourceFile(strFile));
            }

            CRhoFile.writeStringToFile("RhoBundleMap.txt", strMap);
        }
示例#3
0
        private static void copyMap(String strMap)
        {
            string[] files = strMap.Split('\n');

            for (int i = 0; i < files.Length - 1; i++)
            {
                String[] values = files[i].Split('|');

                String strFile    = values[0];
                String strDstFile = values[1];

                System.Diagnostics.Debugger.Log(0, "", strDstFile + "\n");

                CRhoFile.recursiveCreateDir(strDstFile);
                CRhoFile.writeDataToFile(strDstFile, CRhoFile.readResourceFile(strFile));
            }

            CRhoFile.writeStringToFile("RhoBundleMap.txt", strMap);
        }