JMV 0.80 Programmer's Documentation

Class MolecIO

java.lang.Object
  |
  +--MolecIO

public class MolecIO
extends java.lang.Object

Contains info for input/output of Molecule data


Field Summary
static int DTD
          Enumeration indicating dtd file
static int GRO
          Enumeration indicating gro file
static int PDB
          Enumeration indicating pdb file
static int PSF
          Enumeration indicating psf file
 
Constructor Summary
MolecIO()
           
 
Method Summary
 Molecule LoadMolecule(java.io.InputStream istream)
          Loads a molecule from an InputStream
 void setReaderType(int reader)
          sets the reader type (pdb, psf, etc)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PDB

public static final int PDB
Enumeration indicating pdb file

See Also:
Constant Field Values

PSF

public static final int PSF
Enumeration indicating psf file

See Also:
Constant Field Values

DTD

public static final int DTD
Enumeration indicating dtd file

See Also:
Constant Field Values

GRO

public static final int GRO
Enumeration indicating gro file

See Also:
Constant Field Values
Constructor Detail

MolecIO

public MolecIO()
Method Detail

LoadMolecule

public Molecule LoadMolecule(java.io.InputStream istream)
Loads a molecule from an InputStream

Parameters:
istream - the InputStream to read from

setReaderType

public void setReaderType(int reader)
sets the reader type (pdb, psf, etc)

Parameters:
reader - the new reader type

Copyright (C) 2000-2002 The Board of Trustees of the University of Illinois