TissueInfo API 20091124110011

edu.mssm.crover.tables.readers
Class DSSPTableReader

java.lang.Object
  extended by edu.mssm.crover.tables.readers.DSSPTableReader

public class DSSPTableReader
extends Object

Reads a DSSP (W. KABSCH AND C.SANDER, BIOPOLYMERS 22 (1983) 2577-2637; http://www.sander.ebi.ac.uk/dssp) file. The most useful information holds in a table.


Constructor Summary
DSSPTableReader()
           
 
Method Summary
static int[] addColumns(Table table, Reader schema)
          Build the schema for a DSSP file.
static void addData(Table table, Reader data, int[] index)
           
 String getDescription()
           
 String getShortName()
           
static void main(String[] args)
           
static void parseLine(Table t, String line, int linenumber, int[] index)
           
static Table read(Reader schema, InputStream data)
           
static Table read(Reader schema, Reader data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSSPTableReader

public DSSPTableReader()
Method Detail

getShortName

public String getShortName()

getDescription

public String getDescription()

read

public static Table read(Reader schema,
                         InputStream data)
                  throws UnsupportedFormatException,
                         SyntaxErrorException
Throws:
UnsupportedFormatException
SyntaxErrorException

read

public static Table read(Reader schema,
                         Reader data)
                  throws UnsupportedFormatException,
                         SyntaxErrorException
Throws:
UnsupportedFormatException
SyntaxErrorException

addColumns

public static int[] addColumns(Table table,
                               Reader schema)
Build the schema for a DSSP file. Nothing is read from the "schema" file. It is just ignored.


addData

public static void addData(Table table,
                           Reader data,
                           int[] index)
                    throws SyntaxErrorException,
                           IOException
Throws:
SyntaxErrorException
IOException

parseLine

public static void parseLine(Table t,
                             String line,
                             int linenumber,
                             int[] index)
                      throws SyntaxErrorException
Throws:
SyntaxErrorException

main

public static void main(String[] args)

TissueInfo API 20091124110011

Copyright © 2001-2009 Institute for Computational Biomedicine, All Rights Reserved.