org.apache.ctakes.dictionary.lookup.strtable
Class StringTableFactory

java.lang.Object
  extended by org.apache.ctakes.dictionary.lookup.strtable.StringTableFactory

public class StringTableFactory
extends Object

Author:
Mayo Clinic

Constructor Summary
StringTableFactory()
           
 
Method Summary
static StringTable build(Reader charReader, String delimiter, String[] indexedFieldNames, boolean ignoreCase)
          Reads from a character stream.
static StringTable build(Reader charReader, String delimiter, String[] indexedFieldNames, FieldConstraint constraint, boolean ignoreCase)
          Reads from a character stream.
static StringTable build(Reader charReader, String delimiter, String indexedFieldName, boolean ignoreCase)
          Reads from a character stream.
static StringTable build(Reader charReader, String delimiter, String indexedFieldName, FieldConstraint constraint, boolean ignoreCase)
          Reads from a character stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringTableFactory

public StringTableFactory()
Method Detail

build

public static StringTable build(Reader charReader,
                                String delimiter,
                                String indexedFieldName,
                                boolean ignoreCase)
                         throws IOException
Reads from a character stream. Each line is treated as row in the StringTable.

Parameters:
charReader -
delimiter -
Returns:
Throws:
IOException

build

public static StringTable build(Reader charReader,
                                String delimiter,
                                String indexedFieldName,
                                FieldConstraint constraint,
                                boolean ignoreCase)
                         throws IOException
Reads from a character stream. Each line is treated as row in the StringTable.

Parameters:
charReader -
delimiter -
Returns:
Throws:
IOException

build

public static StringTable build(Reader charReader,
                                String delimiter,
                                String[] indexedFieldNames,
                                boolean ignoreCase)
                         throws IOException
Reads from a character stream. Each line is treated as row in the StringTable.

Parameters:
charReader -
delimiter -
Returns:
Throws:
IOException

build

public static StringTable build(Reader charReader,
                                String delimiter,
                                String[] indexedFieldNames,
                                FieldConstraint constraint,
                                boolean ignoreCase)
                         throws IOException
Reads from a character stream. Each line is treated as row in the StringTable.

Parameters:
charReader -
delimiter -
Returns:
Throws:
IOException


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.