コード例 #1
0
ファイル: JavaVMConfiguration.cs プロジェクト: tottty/csjni
 private static List<string> CanonicalizePathsHelper(IPlatform platform, List<String> paths)
 {
     List<String> concatenatedPaths = new List<string>();
     foreach (String pathIter in paths)
     {
         string path = pathIter.Trim();
         if (path.Length == 0)
         {
             throw new JniException(JniResourceManager.Instance.GetString("jvmCfgEmptyPath"));
         }
         path = platform.ExpandPath(path, ExpandPathType.Other);
         concatenatedPaths.Add(path);
     }
     return concatenatedPaths;
 }