net.talvi.puffinplot.data
Interface Suite.SiteNamer

Enclosing class:
Suite

public static interface Suite.SiteNamer

A SiteNamer turns a sample name into a site name. It is used to automatically define site names for a number of samples according to a pre-programmed scheme.


Method Summary
 java.lang.String siteName(Sample sample)
          Determines a site name from a sample name.
 

Method Detail

siteName

java.lang.String siteName(Sample sample)
Determines a site name from a sample name.

Parameters:
sample - the name of a sample
Returns:
the name of a site which should contain the sample with the specified name