public String getComment ( int index ) { if ( comments == null || index < 0 || index >= comments . size ( ) ) { throw new IllegalArgumentException ( "Not a valid comment index: " + index ) ; } return comments . elementAt ( index ) ; }
Returns the index th comment retrieved from the file .