|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.sanger.cgp.standalonecsa.services.FileLocatorServiceImpl
public class FileLocatorServiceImpl
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
|
Constructor Summary | |
---|---|
FileLocatorServiceImpl()
Creates a new instance of FileLocatorServiceImpl |
Method Summary | |
---|---|
java.lang.String |
csvExists()
Gets the location of the results.csv if it exists. |
protected static void |
findFiles(java.util.Map amplimerFileMap,
java.io.File fileOrDirToCheck)
Self recursing method for finding files in a directory structure. |
java.util.Map |
findOutput()
Collates information required to construct an index page. |
TraceGroupBean |
getAmplimerGroup(java.util.List files,
AmplimerBean amplimer)
Constructs a TraceGroupBean for the specified amplimer. |
java.util.Map |
getTraceFiles()
Gets a list of possible trace filenames. |
protected static void |
processPossibleFile(java.io.File possibleReadFile,
java.util.Map amplimerFileMap)
Validates input against standard criteria for sequencing files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log log
Constructor Detail |
---|
public FileLocatorServiceImpl()
Method Detail |
---|
public java.util.Map getTraceFiles()
FileLocatorService
getTraceFiles
in interface FileLocatorService
protected static void processPossibleFile(java.io.File possibleReadFile, java.util.Map amplimerFileMap)
ExperimentBean
.
possibleReadFile
- a file (not directory) to try to validateamplimerFileMap
- an object to add files into where amplimer name is the key and a List of Files the valueprotected static void findFiles(java.util.Map amplimerFileMap, java.io.File fileOrDirToCheck)
processPossibleFile(File readFile, Map amplimerFileMap)
.
amplimerFileMap
- map to add any valid input files (key is amplimer name)fileOrDirToCheck
- the next file or directory to testpublic TraceGroupBean getAmplimerGroup(java.util.List files, AmplimerBean amplimer)
FileLocatorService
ExperimentBean.setComplimentExp(ExperimentBean complimentExp)
)
getAmplimerGroup
in interface FileLocatorService
files
- a list of files that should be incorporated into this groupamplimer
- the AmplimerBean for this amplimer
public java.util.Map findOutput()
FileLocatorService
findOutput
in interface FileLocatorService
public java.lang.String csvExists()
FileLocatorService
csvExists
in interface FileLocatorService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |