Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a46e577e36814745298bfee57be90ae228447687 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package org.eclipse.team.internal.ccvs.core.response;

/*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */

import java.io.PrintStream;

import org.eclipse.team.internal.ccvs.core.CVSException;
import org.eclipse.team.internal.ccvs.core.connection.Connection;
import org.eclipse.team.internal.ccvs.core.resources.api.IManagedFolder;

/**
 * The Dump-Handler reads the rest of the 
 * line out of the connection and ignores it
 */
class DumpHandler extends ResponseHandler {

	String name;
	
	public DumpHandler(String name) {
		this.name = name;
	}
	
	/**
	 * @see IResponseHandler#getName()
	 */
	public String getName() {
		return name;
	}

	/**
	 * @see IResponseHandler#handle(Connection, OutputStream, ICVSFolder)
	 */
	public void handle(
		Connection connection,
		PrintStream messageOutput,
		IManagedFolder mRoot)
		throws CVSException {

		connection.readLine();

	}


}

Back to the top