|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--GetListOfPRPs
Class GetListOfPRPs.java - read list of PRP files and create arrays of PRP file names and PRP names without the '.prp' and map '_' to ' '. This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government and Djamel Medjahed (SAIC-Frederick). As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file.
This work was derived from MAExplorer under the Mozilla 1.1 Open Source Public License by Peter Lemkin of the National Cancer Institute, an agency of the United States Government subject to the limitations noted in the accompanying LEGAL file. See licence info on http://maexplorer.sourceforge.org/
| Field Summary | |
int |
nPRPs
# of files read |
private ProtPlot |
prp
instance of ProtPlot |
java.lang.String |
prpEndsWith
optional end of file name to restrict which files are read |
java.lang.String[] |
prpFileNames
List of PRP file names [0:nPRPs-1] |
java.lang.String[] |
prpNames
List of PRP names [0:nPRPs-1] |
private UtilPRP |
util
instance of UtilPRP |
| Constructor Summary | |
(package private) |
GetListOfPRPs(ProtPlot prp,
java.lang.String prpEndsWith,
java.lang.String msg)
GetListOfPRPs() - constructor |
| Method Summary | |
boolean |
addPRPfile(java.lang.String prpFileStr,
java.lang.String prpEndsWith)
addPRPfile() - Add prpFile to PRP database |
boolean |
GetListOfPRPsFile(java.lang.String msg)
GetListOfPRPsFile() - read list of PRP files into data structure If prpEndsWith is not null then build DB from files ending in prpEndsWith, else build it from files ending in ".prp". |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private ProtPlot prp
private UtilPRP util
public java.lang.String prpEndsWith
public int nPRPs
public java.lang.String[] prpFileNames
public java.lang.String[] prpNames
| Constructor Detail |
GetListOfPRPs(ProtPlot prp,
java.lang.String prpEndsWith,
java.lang.String msg)
prp - is instance of ProtPlotprpEndsWith - is an OPTIONAL string to restrict which files
are read if this is not null. E.g. "_tot.prp" will only read files
ending in "_tot.prp", etc.msg - to use while reading| Method Detail |
public boolean addPRPfile(java.lang.String prpFileStr,
java.lang.String prpEndsWith)
prpFile - is the prot file nameprpEndsWith - is an OPTIONAL string to restrict which files
are read if this is not null. E.g. "_tot.prp" will only read files
ending in "_tot.prp", etc.public boolean GetListOfPRPsFile(java.lang.String msg)
msg - to display while reading file.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||