edu.vt.marian.common
Class LinedString

java.lang.Object
  |
  +--edu.vt.marian.common.LinedString

public class LinedString
extends java.lang.Object

Class name: LinedString Class description: used to count the number of "\n" in s string Author: Jianxin Zhao Finished time: ????, 1998 Known bugs: none Platform: jdk1.1.5 under UNIX


Constructor Summary
LinedString(Debug debug)
          this constructor will create a LinedString object
 
Method Summary
static int count_lines(java.lang.String s)
          this method will return number of "\n"s contained in the string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinedString

public LinedString(Debug debug)
this constructor will create a LinedString object
Method Detail

count_lines

public static int count_lines(java.lang.String s)
this method will return number of "\n"s contained in the string