|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StructureIOFile
interface StructureIOFile extends the StructureIO interface and adds a few File specific methods.
Method Summary | |
---|---|
void |
addExtension(String ext)
add a known File extension. |
void |
clearExtensions()
clear all file extensions |
String |
getPath()
get the directory path to the files |
Structure |
getStructure(File file)
read file from File and returns a Structure object. |
Structure |
getStructure(String filename)
open filename and returns a Structure object. |
boolean |
isAutoFetch()
Fetch files automatically from FTP server. |
void |
setAutoFetch(boolean autoFetch)
Tell the parser to fetch missing PDB files from the FTP server automatically. |
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 |
---|
void setPath(String path)
path
- a String specifying the path valueString getPath()
void addExtension(String ext)
ext
- a String ...void clearExtensions()
Structure getStructure(String filename) throws IOException
filename
- a String
IOException
- ...Structure getStructure(File file) throws IOException
file
- file containing a PDB or mmcif file
IOException
- ...boolean isAutoFetch()
void setAutoFetch(boolean autoFetch)
autoFetch
- flag.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |