1 package org.apache.maven.cvslib;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 import org.apache.maven.changelog.ChangeLogFactory;
22 import org.apache.maven.changelog.ChangeLogGenerator;
23 import org.apache.maven.changelog.ChangeLogParser;
24
25
26 /**
27 * Provides CVS specific instances of the ChangeLogGenerator and
28 * ChangeLogParser interfaces.
29 *
30 * @author Glenn McAllister
31 * @version $Id: CvsChangeLogFactory.java 532339 2007-04-25 12:28:56Z ltheussl $
32 */
33 public class CvsChangeLogFactory implements ChangeLogFactory
34 {
35 /**
36 * Default no-arg constructor.
37 */
38 public CvsChangeLogFactory()
39 {
40 }
41
42 /**
43 * Create a CVS specific ChangeLogGenerator.
44 *
45 * @return a CVS specific ChangeLogGenerator.
46 */
47 public ChangeLogGenerator createGenerator()
48 {
49 return new CvsChangeLogGenerator();
50 }
51
52 /**
53 * Create a CVS specific ChangeLogParser.
54 *
55 * @return a CVS specific ChangeLogParser.
56 */
57 public ChangeLogParser createParser()
58 {
59 return new CvsChangeLogParser();
60 }
61 }