sketch out ResourceBundle

This commit is contained in:
Joel Dice
2007-09-11 20:56:02 -06:00
parent cb03240c64
commit 182414c6e0
3 changed files with 216 additions and 2 deletions

View File

@ -70,7 +70,7 @@ public final class Character {
}
public static boolean isWhitespace(char c) {
return c == ' ' || c == '\t' || c == '\n';
return c == ' ' || c == '\t' || c == '\n' || c == '\r';
}
public static boolean isSpaceChar(char c) {

View File

@ -31,6 +31,14 @@ public class Throwable {
return cause;
}
public void initCause(Throwable e) {
if (cause == null) {
cause = e;
} else {
throw new IllegalStateException();
}
}
public String getMessage() {
return message;
}