Updates of the class library for MGC
[IRC.git] / Robust / src / ClassLibrary / String.java
index b685780a5071f5fb9ec00ae69ec8e1f0ebb7af65..e68450351d47d33137a27aa0a05444719c308e9d 100644 (file)
@@ -256,6 +256,10 @@ public class String {
     return str;
   }
   
+  public void getChars(char dst[], int dstBegin) {
+    getChars(0, count, dst, dstBegin);
+  }
+  
   public void getChars(int srcBegin, int srcEnd, char dst[], int dstBegin) {
     if((srcBegin < 0) || (srcEnd > count) || (srcBegin > srcEnd)) {
       // FIXME
@@ -505,4 +509,9 @@ public class String {
     }
     return ((st > 0) || (len < count)) ? substring(st, len) : this;
   }
+  
+  public boolean matches(String regex) {
+    System.println("String.matches() is not fully supported");
+    return this.equals(regex);
+  }
 }