|
|||||||||
| 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 java.lang.String |
lineSplit
|
| Constructor Summary | |
|---|---|
LocalCacheStructureProvider()
|
|
| Method Summary | |
|---|---|
Structure |
getBiologicalUnit(java.lang.String pdbId)
Returns the first available biological unit for the PDB ID. |
FileParsingParameters |
getFileParsingParameters()
Get the parameters that should be used for file parsing |
java.lang.String |
getPath()
Returns the path value. |
Structure |
getStructureById(java.lang.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(java.lang.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 java.lang.String lineSplit
| Constructor Detail |
|---|
public LocalCacheStructureProvider()
| Method Detail |
|---|
public void setPath(java.lang.String p)
public java.lang.String getPath()
setPath(java.lang.String)
public Structure getStructureById(java.lang.String pdbId)
throws java.io.IOException
StructureProvider
getStructureById in interface StructureProviderjava.io.IOException
public Structure getBiologicalUnit(java.lang.String pdbId)
throws StructureException,
java.io.IOException
getBiologicalUnit in interface StructureProviderjava.io.IOException
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 | ||||||||