|
Revision 423M | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bridgedb.file.IDMapperFile
org.bridgedb.file.IDMapperText
public class IDMapperText
Class for mapping ID from delimited text file.
| Field Summary |
|---|
| Fields inherited from class org.bridgedb.file.IDMapperFile |
|---|
cap, reader |
| Constructor Summary | |
|---|---|
IDMapperText(java.net.URL url)
Constructor from the URL of a tab-delimited text file. |
|
IDMapperText(java.net.URL url,
char[] dataSourceDelimiters)
Transitivity is unsupported. |
|
IDMapperText(java.net.URL url,
char[] dataSourceDelimiters,
char[] idDelimiters)
Transitivity is unsupported. |
|
IDMapperText(java.net.URL url,
char[] dataSourceDelimiters,
char[] idDelimiters,
boolean transitivity)
Constructor from the URL of a tab-delimited text file,
delimiters to separate between different data sources and IDs and
transitivity support. |
|
| Method Summary | |
|---|---|
java.util.Set<Xref> |
freeSearch(java.lang.String text,
int limit)
Free search is not supported for delimiter-text file. |
char[] |
getDataSourceDelimiters()
|
char[] |
getIDDelimiters()
|
boolean |
getTransitivity()
Get transitivity support. |
java.net.URL |
getURL()
Get URL of the file. |
void |
setDataSourceDelimiters(char[] dataSourceDelimiters)
Set delimiters between data sources. |
void |
setIDDelimiters(char[] idDelimiters)
Set delimiters between data IDs. |
void |
setTransitivity(boolean transitivity)
Set transitivity support. |
| Methods inherited from class org.bridgedb.file.IDMapperFile |
|---|
close, getCapabilities, getIDMappingReader, isConnected, mapID, mapID, xrefExists |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IDMapperText(java.net.URL url)
throws IDMapperException
URL of a tab-delimited text file.
url - URL of the file
IDMapperException - if failed to read file
public IDMapperText(java.net.URL url,
char[] dataSourceDelimiters)
throws IDMapperException
url - url URL of the filedataSourceDelimiters - delimiters between data sources
IDMapperException - if failed to read file
public IDMapperText(java.net.URL url,
char[] dataSourceDelimiters,
char[] idDelimiters)
throws IDMapperException
url - url URL of the filedataSourceDelimiters - delimiters between data sourcesidDelimiters - delimiters between IDs
IDMapperException - if failed to read file
public IDMapperText(java.net.URL url,
char[] dataSourceDelimiters,
char[] idDelimiters,
boolean transitivity)
throws IDMapperException
URL of a tab-delimited text file,
delimiters to separate between different data sources and IDs and
transitivity support.
url - url URL of the filedataSourceDelimiters - delimiters between data sourcesidDelimiters - delimiters between IDstransitivity - support transitivity if true
IDMapperException - if failed to read file| Method Detail |
|---|
public java.util.Set<Xref> freeSearch(java.lang.String text,
int limit)
throws IDMapperException
text - ignoredlimit - ignored
IDMapperException - will not be thrownpublic void setTransitivity(boolean transitivity)
transitivity - support transitivity if true.public boolean getTransitivity()
public java.net.URL getURL()
URL of the file.
URL of the filepublic char[] getDataSourceDelimiters()
public char[] getIDDelimiters()
public void setDataSourceDelimiters(char[] dataSourceDelimiters)
dataSourceDelimiters - delimiters between data sourcespublic void setIDDelimiters(char[] idDelimiters)
idDelimiters - delimiters between data IDs
|
Generated July 29 2010 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||