/** * Gets the next token from a tokenizer and parses it as a TTL. * * @return The next token in the stream, as an unsigned 32 bit integer. * @throws TextParseException The input was not valid. * @throws IOException An I/O error occurred. * @see TTL */ public long getTTL() throws IOException { String next = _getIdentifier("a TTL value"); try { return TTL.parseTTL(next); } catch (NumberFormatException e) { throw exception("expected a TTL value"); } }