public class IDMappingReaderFromText extends IDMappingReaderFromDelimitedReader
| Modifier and Type | Field and Description |
|---|---|
protected URL |
url |
dsValid, idMappingValid, regExDataSourceDelimiter, regExIDDelimiter| Constructor and Description |
|---|
IDMappingReaderFromText(URL url,
char[] dataSourceDelimiters)
Transitivity is unsupported.
|
IDMappingReaderFromText(URL url,
char[] dataSourceDelimiters,
char[] regExIDDelimiter)
Transitivity is unsupported.
|
IDMappingReaderFromText(URL url,
char[] dataSourceDelimiters,
char[] regExIDDelimiter,
boolean transitivity)
Constructor from the
URL of a tab-delimited text file,
delimiters to separate between different data sources and IDs and
transitivity support. |
IDMappingReaderFromText(URL url,
String regExDataSourceDelimiter)
Transitivity is unsupported.
|
IDMappingReaderFromText(URL url,
String regExDataSourceDelimiter,
String regExIDDelimiter)
Transitivity is unsupported.
|
IDMappingReaderFromText(URL url,
String regExDataSourceDelimiter,
String regExIDDelimiter,
boolean transitivity) |
| Modifier and Type | Method and Description |
|---|---|
void |
setDataSourceDelimiters(char[] dataSourceDelimiters)
Set delimiters between data sources.
|
void |
setIDDelimiters(char[] idDelimiters)
Set delimiters between data IDs.
|
protected static String |
strs2regex(char[] chs) |
addIDMapping, getDataSources, getIDMappings, getTransitivity, readData, readDataSources, readIDMappings, setDataSources, setTransitivityprotected final URL url
public IDMappingReaderFromText(URL url, char[] dataSourceDelimiters) throws IDMapperException
url - url URL of the filedataSourceDelimiters - delimiters between data sourcesIDMapperException - if failed to read filepublic IDMappingReaderFromText(URL url, char[] dataSourceDelimiters, char[] regExIDDelimiter) throws IDMapperException
url - url URL of the filedataSourceDelimiters - delimiters between data sourcesregExIDDelimiter - delimiters between IDsIDMapperException - if failed to read filepublic IDMappingReaderFromText(URL url, char[] dataSourceDelimiters, char[] regExIDDelimiter, 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 sourcesregExIDDelimiter - delimiters between IDstransitivity - support transitivity if trueIDMapperException - if failed to read filepublic IDMappingReaderFromText(URL url, String regExDataSourceDelimiter) throws IDMapperException
url - the URL of the delimited text fileregExDataSourceDelimiter - regular expression of delimiter between
data sourcesIDMapperException - if failed to readpublic IDMappingReaderFromText(URL url, String regExDataSourceDelimiter, String regExIDDelimiter) throws IDMapperException
url - the URL of the delimited text fileregExDataSourceDelimiter - regular expression of delimiter between
data sourcesregExIDDelimiter - regular expression of delimiter between IDsIDMapperException - if failed to readpublic IDMappingReaderFromText(URL url, String regExDataSourceDelimiter, String regExIDDelimiter, boolean transitivity) throws IDMapperException
url - the URL of the delimited text fileregExDataSourceDelimiter - regular expression of delimiter between
data sourcesregExIDDelimiter - regular expression of delimiter between IDstransitivity - transitivity supportIDMapperException - if failed to readpublic void setDataSourceDelimiters(char[] dataSourceDelimiters)
dataSourceDelimiters - delimiters between data sourcespublic void setIDDelimiters(char[] idDelimiters)
idDelimiters - delimiters between data IDsprotected static String strs2regex(char[] chs)
Copyright © 2006–2021 BridgeDb project. All rights reserved.