ucl.physiol.neuroconstruct.cell.converters
Class FormatImporter

java.lang.Object
  extended by ucl.physiol.neuroconstruct.cell.converters.FormatImporter
Direct Known Subclasses:
GenesisMorphReader, MorphMLConverter, NeurolucidaReader, NeuronMorphReader, SWCMorphReader

public abstract class FormatImporter
extends Object

Abstract class for all the external format morphology importers See SWCMorphReader for a simple example of an implementation

Author:
Padraig Gleeson

Constructor Summary
protected FormatImporter()
           
protected FormatImporter(String name, String desc, String[] fileExtensions)
           
 
Method Summary
 String getDesc()
           
 String[] getFileExtensions()
           
 String getName()
           
 String getWarnings()
           
abstract  Cell loadFromMorphologyFile(File morphologyFile, String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormatImporter

protected FormatImporter()

FormatImporter

protected FormatImporter(String name,
                         String desc,
                         String[] fileExtensions)
Method Detail

loadFromMorphologyFile

public abstract Cell loadFromMorphologyFile(File morphologyFile,
                                            String name)
                                     throws MorphologyException
Throws:
MorphologyException

getDesc

public String getDesc()

getFileExtensions

public String[] getFileExtensions()

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object

getWarnings

public String getWarnings()