phenote.dataadapter.fly
Class FlybaseDataAdapter

java.lang.Object
  extended by phenote.dataadapter.fly.FlybaseDataAdapter
All Implemented Interfaces:
DataAdapterI

public class FlybaseDataAdapter
extends java.lang.Object
implements DataAdapterI

Just pastes characters to clipboard for proforma 6/30/06 - changing this to use new Pheno-Syntax - should this be renamed Pheno-Syntax data adapter? Pheno Syntax need to be able to write to a file as well as also write to flybases proforma app - i think those are 2 different data adapters sharing Syntax objects - PhenoSyntaxFileAdapter and FlybaseProformaAdapter or something like that - todo... this is really a serialized clipboard adapter at this point - i think flybase is going to be more tightly integrated This is pase and should probably be removed -


Constructor Summary
FlybaseDataAdapter()
           
 
Method Summary
 void commit(CharacterListI charList)
           
 void commit(CharacterListI charList, java.io.File f)
           
static java.awt.datatransfer.ClipboardOwner getClipboardOwner()
           
 java.lang.String getDescription()
           
 java.util.List<java.lang.String> getExtensions()
           
 boolean hasExtension(java.lang.String s)
           
 void load()
          load character set from clipboard if there is one
 CharacterListI load(java.io.File f)
           
 void setAdapterValue(java.lang.String filename)
          no adapter value (ie filename) to set for clipboard - no op
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlybaseDataAdapter

public FlybaseDataAdapter()
Method Detail

setAdapterValue

public void setAdapterValue(java.lang.String filename)
no adapter value (ie filename) to set for clipboard - no op

Specified by:
setAdapterValue in interface DataAdapterI

commit

public void commit(CharacterListI charList)
Specified by:
commit in interface DataAdapterI

commit

public void commit(CharacterListI charList,
                   java.io.File f)
Specified by:
commit in interface DataAdapterI

load

public CharacterListI load(java.io.File f)
Specified by:
load in interface DataAdapterI

load

public void load()
load character set from clipboard if there is one

Specified by:
load in interface DataAdapterI

getClipboardOwner

public static java.awt.datatransfer.ClipboardOwner getClipboardOwner()

getExtensions

public java.util.List<java.lang.String> getExtensions()
Specified by:
getExtensions in interface DataAdapterI

hasExtension

public boolean hasExtension(java.lang.String s)
Specified by:
hasExtension in interface DataAdapterI

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface DataAdapterI