public class FlyCircuitLoader extends java.lang.Object implements RemoteSWCLoader
| Constructor and Description |
|---|
FlyCircuitLoader() |
| Modifier and Type | Method and Description |
|---|---|
java.io.BufferedReader |
getReader(java.lang.String cellId)
Gets the SWC data associated with the specified cell ID as a reader
|
java.lang.String |
getReconstructionURL(java.lang.String cellId)
Gets the URL of the SWC file associated with the specified cell ID.
|
Tree |
getTree(java.lang.String cellId)
Gets the collection of Paths for the specified cell ID
|
boolean |
isDatabaseAvailable()
Checks whether a connection to the FlyCircuit database can be established.
|
static void |
main(java.lang.String... args) |
public boolean isDatabaseAvailable()
isDatabaseAvailable in interface RemoteSWCLoaderpublic java.lang.String getReconstructionURL(java.lang.String cellId)
getReconstructionURL in interface RemoteSWCLoadercellId - the ID of the cell to be retrievedpublic java.io.BufferedReader getReader(java.lang.String cellId)
getReader in interface RemoteSWCLoadercellId - the ID of the cell to be retrievedpublic Tree getTree(java.lang.String cellId)
getTree in interface RemoteSWCLoadercellId - the ID of the cell to be retrievedTree, or null if data
could not be retrievedpublic static void main(java.lang.String... args)