String thisLineSeparator = lastLineSeparator;
lastLineSeparator = null;
if (tokenizer.hasMore()) {
while (tokenizer.hasMore()) {
Token tk = tokenizer.nextToken();
if (LINE_SEPARATOR.equals(tk.getName())) {
lastLineSeparator = tk.getText();
break;
} else {
result = tk.getText();
}
}
} else if (thisLineSeparator == null) {
result = null;
}