public class NeuroMorphoLoader extends Object implements RemoteSWCLoader
Constructor and Description |
---|
NeuroMorphoLoader() |
Modifier and Type | Method and Description |
---|---|
void |
enableSourceVersion(boolean enable) |
BufferedReader |
getReader(String cellId)
Gets the SWC data ('CNG version') associated with the specified cell ID as
a reader
|
String |
getReconstructionURL(String cellId)
Gets the URL of the SWC file ('CNG version') associated with the specified
cell ID.
|
Tree |
getTree(String cellId)
Gets the collection of Paths for the specified cell ID
|
boolean |
isDatabaseAvailable()
Checks whether a connection to the NeuroMorpho database can be established.
|
static void |
main(String... args) |
public boolean isDatabaseAvailable()
isDatabaseAvailable
in interface RemoteSWCLoader
public String getReconstructionURL(String cellId)
getReconstructionURL
in interface RemoteSWCLoader
cellId
- the ID of the cell to be retrievedpublic BufferedReader getReader(String cellId)
getReader
in interface RemoteSWCLoader
cellId
- the ID of the cell to be retrievedpublic void enableSourceVersion(boolean enable)
public Tree getTree(String cellId)
getTree
in interface RemoteSWCLoader
cellId
- the ID of the cell to be retrievedTree
,
or null if data could not be retrievedpublic static void main(String... args) throws IOException
IOException
Copyright © 2015–2021 Fiji. All rights reserved.