blob: e81e91cf096a0f4692e38bd3920c0bd68a93a90c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.team.internal.ccvs.core.client;
import java.io.*;
class ByteCountOutputStream extends OutputStream {
private long size = 0;
public void write(int b) throws IOException {
size++;
}
public long getSize() {
return size;
}
}