Subversion Repositories XServices

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
113 brianR 1
/*     */ package net.brutex.xservices.util;
2
/*     */
3
/*     */ import java.io.PrintStream;
4
/*     */ import org.netbeans.lib.cvsclient.event.BinaryMessageEvent;
5
/*     */ import org.netbeans.lib.cvsclient.event.CVSListener;
6
/*     */ import org.netbeans.lib.cvsclient.event.FileAddedEvent;
7
/*     */ import org.netbeans.lib.cvsclient.event.FileInfoEvent;
8
/*     */ import org.netbeans.lib.cvsclient.event.FileRemovedEvent;
9
/*     */ import org.netbeans.lib.cvsclient.event.FileToRemoveEvent;
10
/*     */ import org.netbeans.lib.cvsclient.event.FileUpdatedEvent;
11
/*     */ import org.netbeans.lib.cvsclient.event.MessageEvent;
12
/*     */ import org.netbeans.lib.cvsclient.event.ModuleExpansionEvent;
13
/*     */ import org.netbeans.lib.cvsclient.event.TerminationEvent;
14
/*     */
15
/*     */ public abstract class BasicCVSListener
16
/*     */   implements CVSListener
17
/*     */ {
18
/*  24 */   private final StringBuffer taggedLine = new StringBuffer();
19
/*     */
20
/*  26 */   private final boolean showEvents = true;
21
/*     */
22
/*     */   public void messageSent(MessageEvent e)
23
/*     */   {
24
/*  36 */     String line = e.getMessage();
25
/*  37 */     PrintStream stream = e.isError() ? System.err :
26
/*  38 */       System.out;
27
/*     */
28
/*  40 */     if (e.isTagged())
29
/*     */     {
30
/*  42 */       String str1 = MessageEvent.parseTaggedMessage(this.taggedLine, line);
31
/*     */     }
32
/*     */   }
33
/*     */
34
/*     */   public void commandTerminated(TerminationEvent arg0)
35
/*     */   {
36
/*  59 */     System.out.println("commandTerminated");
37
/*     */   }
38
/*     */
39
/*     */   public void fileAdded(FileAddedEvent arg0)
40
/*     */   {
41
/*  65 */     System.out.println("fileAdded");
42
/*     */   }
43
/*     */
44
/*     */   public void fileInfoGenerated(FileInfoEvent arg0)
45
/*     */   {
46
/*  71 */     System.out.println("fileInfoGenerated");
47
/*     */   }
48
/*     */
49
/*     */   public void fileRemoved(FileRemovedEvent arg0)
50
/*     */   {
51
/*  76 */     System.out.println("fileRemoved");
52
/*     */   }
53
/*     */
54
/*     */   public void fileToRemove(FileToRemoveEvent arg0)
55
/*     */   {
56
/*  82 */     System.out.println("fileToRemove");
57
/*     */   }
58
/*     */
59
/*     */   public void fileUpdated(FileUpdatedEvent arg0)
60
/*     */   {
61
/*  88 */     System.out.println("fileUpdated");
62
/*     */   }
63
/*     */
64
/*     */   public void messageSent(BinaryMessageEvent arg0)
65
/*     */   {
66
/*  94 */     System.out.println("messageSent_Binary");
67
/*     */   }
68
/*     */
69
/*     */   public void moduleExpanded(ModuleExpansionEvent arg0)
70
/*     */   {
71
/* 100 */     System.out.println("ModuleExpansionEvent");
72
/*     */   }
73
/*     */ }
94 brianR 74
 
113 brianR 75
/* Location:           C:\Users\brosenberger\Documents\My Box Files\XBridgeNG-download\XServices-20130131 - Kopie\WEB-INF\classes\net.zip
76
 * Qualified Name:     net.brutex.xservices.util.BasicCVSListener
77
 * JD-Core Version:    0.6.2
78
 */