org.utgenome.format.keyword
Class KeywordAliasReader

java.lang.Object
  extended by org.utgenome.format.keyword.KeywordAliasReader

public class KeywordAliasReader
extends Object

keyword alias file is a tab-delimited file, each line of which has a keyword and its aliases.

 # comment line
 (keyword1)     (aliases... )
 (keyword2)     (aliases... )
 ...
 

Author:
leo

Constructor Summary
KeywordAliasReader(Reader in)
           
KeywordAliasReader(String file)
           
 
Method Summary
 GenomeKeywordEntry.KeywordAlias next()
          read a next keyword and its aliases
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeywordAliasReader

public KeywordAliasReader(String file)
                   throws FileNotFoundException
Throws:
FileNotFoundException

KeywordAliasReader

public KeywordAliasReader(Reader in)
Method Detail

next

public GenomeKeywordEntry.KeywordAlias next()
                                     throws IOException
read a next keyword and its aliases

Returns:
KeywordAlias or null if no further entry exists
Throws:
IOException


Copyright © 2007-2012 utgenome.org. All Rights Reserved.