com.cybozu.labs.langdetect.util
Class TagExtractor

java.lang.Object
  extended by com.cybozu.labs.langdetect.util.TagExtractor

public class TagExtractor
extends Object

TagExtractor is a class which extracts inner texts of specified tag. Users don't use this class directly.

Author:
Nakatani Shuyo

Constructor Summary
TagExtractor(String tag, int threshold)
           
 
Method Summary
 void add(String line)
           
 void clear()
           
 String closeTag()
           
 int count()
           
 void setTag(String tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagExtractor

public TagExtractor(String tag,
                    int threshold)
Method Detail

count

public int count()

clear

public void clear()

setTag

public void setTag(String tag)

add

public void add(String line)

closeTag

public String closeTag()


Copyright © 2012. All Rights Reserved.