|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdata.LocalizationDataReader
public class LocalizationDataReader
Reads localization data from a file or stream. The following data format is assumed:
PROTEINNAME[tab]loc1,loc2,loc3 The protein identifier and the localizations are seperated by a TAB, each localization information is then seperated by commas.
This class is not instantiatable.
Method Summary | |
---|---|
static LocalizationData |
readLocalizationData(File file)
Reads localization data from a given file. |
static LocalizationData |
readLocalizationData(File file,
String organism)
Reads localization data from a given file. |
static LocalizationData |
readLocalizationData(InputStream stream)
Reads localization data from an input stream |
static LocalizationData |
readLocalizationData(InputStream stream,
String organism)
Reads localization data from an input stream |
static LocalizationData |
readLocalizationData(String file)
Reads localization data from a given file. |
static LocalizationData |
readLocalizationData(String file,
String organism)
Reads localization data from a given file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LocalizationData readLocalizationData(String file) throws IOException
file
- file from which the localization data will be read
IOException
- if the file could not be read
ProCopeException
- if the data format is invalidpublic static LocalizationData readLocalizationData(String file, String organism) throws IOException
file
- file from which the localization data will be readorganism
- specify an organism identifier for the new proteins or null for no organism (see also: ProteinManager
)
IOException
- if the file could not be read
ProCopeException
- if the data format is invalidpublic static LocalizationData readLocalizationData(File file) throws IOException
file
- file from which the localization data will be read
IOException
- if the file could not be read
ProCopeException
- if the data format is invalidpublic static LocalizationData readLocalizationData(File file, String organism) throws IOException
file
- file from which the localization data will be readorganism
- specify an organism identifier for the new proteins or null for no organism (see also: ProteinManager
)
IOException
ProCopeException
- if the data format is invalid
IOException
- if the file could not be readpublic static LocalizationData readLocalizationData(InputStream stream)
stream
- stream from which the localization data will be read
ProCopeException
- if the data format is invalidpublic static LocalizationData readLocalizationData(InputStream stream, String organism)
stream
- stream from which the localization data will be readorganism
- specify an organism identifier for the new proteins or null for no organism (see also: ProteinManager
)
ProCopeException
- if the data format is invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |