owltools.idmap
Class IDMappingPIRParser

java.lang.Object
  extended by owltools.idmap.AbstractMappingParser
      extended by owltools.idmap.IDMappingPIRParser

public class IDMappingPIRParser
extends AbstractMappingParser

Parses the IDMapping file available here: ftp://ftp.pir.georgetown.edu/databases/idmapping/idmapping.tb.gz

Author:
cjm

Nested Class Summary
static class IDMappingPIRParser.Types
           
 
Field Summary
 IDMappingPIRParser.Types[] COL_SUBSET
           
 Set<Integer> colIxSubset
           
static IDMappingPIRParser.Types[] COLS
           
 Map<Integer,Set<String>> filterWhere
           
 IDMapHandler handler
           
 Map<IDMappingPIRParser.Types,Integer> typeIxMap
           
 
Constructor Summary
IDMappingPIRParser()
           
 
Method Summary
 boolean next()
           
 void parse(Reader reader)
           
 boolean process(String[] colVals)
           
 
Methods inherited from class owltools.idmap.AbstractMappingParser
parse, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLS

public static IDMappingPIRParser.Types[] COLS

COL_SUBSET

public IDMappingPIRParser.Types[] COL_SUBSET

colIxSubset

public Set<Integer> colIxSubset

typeIxMap

public Map<IDMappingPIRParser.Types,Integer> typeIxMap

filterWhere

public Map<Integer,Set<String>> filterWhere

handler

public IDMapHandler handler
Constructor Detail

IDMappingPIRParser

public IDMappingPIRParser()
Method Detail

next

public boolean next()
             throws IOException
Throws:
IOException

process

public boolean process(String[] colVals)

parse

public void parse(Reader reader)
           throws IOException
Specified by:
parse in class AbstractMappingParser
Throws:
IOException


Copyright © 2010-2011. All Rights Reserved.