Interface SampleIDExtraction

  • All Known Implementing Classes:
    AbstractSampleIDExtraction, Filename, RegExp

    public interface SampleIDExtraction
    Interface for classes that extract the sample ID from the filename.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • extract

        String extract​(File file,
                       Spectrum spec)
        Performs the extraction.
        Parameters:
        file - the current file
        spec - the current spectrum
        Returns:
        the extracted sample ID