Ignore:
Timestamp:
11/09/05 17:43:12 (19 years ago)
Author:
remar
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt/src/org/modelica/mdt/internal/omcproxy/ProxyParser.java

    r118 r130  
    2525        return retvals;
    2626    }
     27   
     28    public static String[] parseErrorList(String str)
     29    {
     30        str = str.trim();
     31
     32        if(str.charAt(0) != '\"' || str.charAt(str.length() - 1) != '\"')
     33        {
     34            return null;
     35        }
     36       
     37        str = str.substring(1, str.length() - 1);
     38        str = str.trim();
     39       
     40        String[] retvals = str.split(System.getProperty("line.separator"));
     41
     42        return retvals;
     43    }
    2744}
Note: See TracChangeset for help on using the changeset viewer.