StructureIOFile (BioJava-1.5-beta API)
Keywords: org.biojava.bio.structure.io.StructureIOFile interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.biojava.bio.structure.io
Interface StructureIOFile

All Superinterfaces:
  StructureIO

All Known Implementing Classes:
  PDBFileReader

    public interface StructureIOFile

extends StructureIO

interface StructureIOFile extends the StructureIO interface and adds a few File specific methods.

Author:
  Andreas Prlic

Method Summary
`void` | `addExtension(String ext)` add a known File extension.
`Structure` | `getStructure(String filename)` open filename and returns a Structure object.
`void` | `setPath(String path)` set path to file / connection string to db.

Methods inherited from interface org.biojava.bio.structure.io.StructureIO
`getStructureById`

Method Detail

### setPath

    void setPath(String path)

  set path to file / connection string to db.

  Parameters:
    `path` - a String specifying the path value

### addExtension

    void addExtension(String ext)

  add a known File extension.

  Parameters:
    `ext` - a String ...

### getStructure

    Structure getStructure(String filename)
                           throws IOException

  open filename and returns a Structure object.

  Parameters:
    `filename` - a String
  Returns:
    a Structure object
  Throws:
    `IOException` - ...

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD