/** * Returns the comments collected before returning the last word. * Starts collecting new comments. * * @return the collected comments, or <code>null</code> if there weren't any. */ public String lastComments() throws IOException { if (includeWordReader == null) { String comments = currentComments; currentComments = null; return comments; } else { return includeWordReader.lastComments(); } }
/** * Returns the comments collected before returning the last word. * Starts collecting new comments. * * @return the collected comments, or <code>null</code> if there weren't any. */ public String lastComments() throws IOException { if (includeWordReader == null) { String comments = currentComments; currentComments = null; return comments; } else { return includeWordReader.lastComments(); } }
/** * Returns the comments collected before returning the last word. * Starts collecting new comments. * * @return the collected comments, or <code>null</code> if there weren't any. */ public String lastComments() throws IOException { if (includeWordReader == null) { String comments = currentComments; currentComments = null; return comments; } else { return includeWordReader.lastComments(); } }
/** * Returns the comments collected before returning the last word. * Starts collecting new comments. * * @return the collected comments, or <code>null</code> if there weren't any. */ public String lastComments() throws IOException { if (includeWordReader == null) { String comments = currentComments; currentComments = null; return comments; } else { return includeWordReader.lastComments(); } }
lastComments = reader.lastComments();
lastComments = reader.lastComments();
lastComments = reader.lastComments();
lastComments = reader.lastComments();