|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.biojava.bio.structure.io.LocalCacheStructureProvider
public class LocalCacheStructureProvider
Provides structures based on locally cached PDB files. The path where to cache this can be configured in FileParsingParameters
| Field Summary | |
|---|---|
static String |
lineSplit
|
| Constructor Summary | |
|---|---|
LocalCacheStructureProvider()
|
|
| Method Summary | |
|---|---|
Structure |
getBiologicalUnit(String pdbId)
Returns the first available biological unit for the PDB ID. |
FileParsingParameters |
getFileParsingParameters()
Get the parameters that should be used for file parsing |
String |
getPath()
Returns the path value. |
Structure |
getStructureById(String pdbId)
get the structure for a PDB ID |
void |
setFileParsingParameters(FileParsingParameters params)
Set the parameters that should be used for file parsing |
void |
setPath(String p)
directory where to find PDB files |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String lineSplit
| Constructor Detail |
|---|
public LocalCacheStructureProvider()
| Method Detail |
|---|
public void setPath(String p)
public String getPath()
setPath(java.lang.String)
public Structure getStructureById(String pdbId)
throws IOException
StructureProvider
getStructureById in interface StructureProviderIOException
public Structure getBiologicalUnit(String pdbId)
throws StructureException,
IOException
getBiologicalUnit in interface StructureProviderIOException
StructureExceptionpublic void setFileParsingParameters(FileParsingParameters params)
StructureProvider
setFileParsingParameters in interface StructureProviderparams - FileParsingParameterspublic FileParsingParameters getFileParsingParameters()
StructureProvider
getFileParsingParameters in interface StructureProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||