public boolean update(boolean doReset) throws IOException
	{
		if (this.closed)
		{
			return false;
		}
		if (!this.updateOK)
		{
			throw new RuntimeException("Update of this type of file is not supported");
		}

		if (doReset)
		{
			this.dataIn.reset();
		}

		int updateTokenCount = 0;
		while (this.readToken())
		{
			updateTokenCount++;
		}
		return updateTokenCount != 0;
	}
public boolean update ( boolean doReset ) throws IOException { if ( this . closed ) { return false ; } if ( ! this . updateOK ) { throw new RuntimeException ( "Update of this type of file is not supported" ) ; } if ( doReset ) { this . dataIn . reset ( ) ; } int updateTokenCount = 0 ; while ( this . readToken ( ) ) { updateTokenCount ++ ; } return updateTokenCount != 0 ; }
Checks to see if the archive has changed since the StatArchiverReader
instance was created or last updated. If the archive has additional
samples then those are read the resource instances maintained by the
reader are updated.
<p>
Once closed a reader can no longer be updated.

@param doReset update flag
@return true if update read some new data.
@throws java.io.IOException
if <code>archiveName</code> could not be opened read, or
closed.