cassis.gui.plot.triple
public final class GalleryNavigationUtils extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.Integer> |
getListOfSpectrums(java.lang.String text,
int plotNumber)
Return a list of plot number from a String.
|
static java.lang.String |
getStringOfSpectrumList(java.util.List<java.lang.Integer> listPlot)
Parse a list of plot number et build an optimized String
representation for the GalleryNavigation list of plots.
|
public static java.lang.String getStringOfSpectrumList(java.util.List<java.lang.Integer> listPlot)
listPlot - The list of plots number.public static java.util.List<java.lang.Integer> getListOfSpectrums(java.lang.String text,
int plotNumber)
throws java.lang.IllegalArgumentException
text - The string.plotNumber - The number of plot (number highter than this one will be ignored).java.lang.IllegalArgumentException - If the text is null, empty or can not be parsed.