phenote.dataadapter
Interface DataAdapterI

All Known Implementing Classes:
AbstractFileAdapter, AnnotationOBOFileAdapter, AnnotationOWLFileAdapter, DelimitedFileAdapter, FlybaseDataAdapter, NEXUSAdapter, PhenoSyntaxFileAdapter, PhenoXmlAdapter

public interface DataAdapterI

I think this should be renamed FileAdapterI, except i dont know how the integrated adpaters are going to pan out - ie birn - we'll see


Method Summary
 void commit(CharacterListI charList)
           
 void commit(CharacterListI charList, java.io.File f)
           
 java.lang.String getDescription()
           
 java.util.List<java.lang.String> getExtensions()
           
 boolean hasExtension(java.lang.String ext)
           
 void load()
           
 CharacterListI load(java.io.File f)
           
 void setAdapterValue(java.lang.String adapterValue)
          Set value to use for loading or writeback, for a file adapter this would be the file name - is there a better name for this method? For now just doing String - which may be sufficient - may need an AdapterValue/DataInput object if this gets more involved - but that may not be necasary - certianly string ok for now
 

Method Detail

load

void load()

load

CharacterListI load(java.io.File f)

commit

void commit(CharacterListI charList)

commit

void commit(CharacterListI charList,
            java.io.File f)

setAdapterValue

void setAdapterValue(java.lang.String adapterValue)
Set value to use for loading or writeback, for a file adapter this would be the file name - is there a better name for this method? For now just doing String - which may be sufficient - may need an AdapterValue/DataInput object if this gets more involved - but that may not be necasary - certianly string ok for now


getExtensions

java.util.List<java.lang.String> getExtensions()

hasExtension

boolean hasExtension(java.lang.String ext)

getDescription

java.lang.String getDescription()