KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > groovy > syntax > lexer > AbstractCharStream


1 package org.codehaus.groovy.syntax.lexer;
2
3 public abstract class AbstractCharStream
4     implements CharStream
5 {
6     private String JavaDoc description;
7
8     public AbstractCharStream()
9     {
10         this( "<unknown>" );
11     }
12
13     public AbstractCharStream(String JavaDoc description)
14     {
15         this.description = description;
16     }
17
18     public String JavaDoc getDescription()
19     {
20         return this.description;
21     }
22 }
23
Popular Tags