public class IntegerPattern extends Object
Constructor and Description |
---|
IntegerPattern() |
Modifier and Type | Method and Description |
---|---|
static String |
getReplaceString(String inputFilePattern,
char type)
Analyzes a file pattern and returns the number of digits as well as the replace pattern
for a certain type,
e.g.
|
static ArrayList<Integer> |
parseIntegerString(String integers)
Parse a pattern provided by the user defining a range of integers.
|
public static String getReplaceString(String inputFilePattern, char type)
inputFilePattern
- - e.g. spim_TL{t}_Angle{aaa}.tiftype
- - e.g. 't' or 'a'public static ArrayList<Integer> parseIntegerString(String integers) throws ParseException
integers
- - the inputParseException
- if the input string was illegalCopyright © 2015–2021 Fiji. All rights reserved.