public interface FilePatternService extends SCIFIOService
FilePattern
use.FilePattern| Modifier and Type | Method and Description |
|---|---|
String[] |
findImagePatterns(org.scijava.io.location.BrowsableLocation base)
Finds the list of names matching the provided base and generates all
patterns that match the list.
|
String[] |
findImagePatterns(org.scijava.io.location.BrowsableLocation base,
org.scijava.io.location.BrowsableLocation dir,
Collection<org.scijava.io.location.BrowsableLocation> nameList)
Generates a list of all the patterns that match the provided list of file
names.
|
String |
findPattern(org.scijava.io.location.BrowsableLocation file)
Identifies the group pattern from a given file within that group.
|
String |
findPattern(org.scijava.io.location.BrowsableLocation name,
org.scijava.io.location.BrowsableLocation dir)
Identifies the group pattern from a given file within that group.
|
String |
findPattern(org.scijava.io.location.BrowsableLocation name,
org.scijava.io.location.BrowsableLocation dir,
Collection<org.scijava.io.location.BrowsableLocation> nameList)
Identifies the group pattern from a given file within that group.
|
String |
findPattern(org.scijava.io.location.BrowsableLocation name,
org.scijava.io.location.BrowsableLocation dir,
Collection<org.scijava.io.location.BrowsableLocation> nameList,
int[] excludeAxes)
Identifies the group pattern from a given file within that group.
|
String |
findPattern(String path)
Identifies the group pattern from a given file within that group.
|
String |
findPattern(String[] names)
Generate a pattern from a list of file names.
|
initialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposeString findPattern(String path) throws IOException
path - The file path (to a local file) to use as a template for the
match.IOExceptionString findPattern(org.scijava.io.location.BrowsableLocation file) throws IOException
file - The file to use as a template for the match.IOExceptionString findPattern(org.scijava.io.location.BrowsableLocation name, org.scijava.io.location.BrowsableLocation dir) throws IOException
name - The filename to use as a template for the match.dir - The directory in which to search for matching files.IOExceptionString findPattern(org.scijava.io.location.BrowsableLocation name, org.scijava.io.location.BrowsableLocation dir, Collection<org.scijava.io.location.BrowsableLocation> nameList)
name - The filename to use as a template for the match.dir - The directory prefix to use for matching files.nameList - The names through which to search for matching files.String findPattern(org.scijava.io.location.BrowsableLocation name, org.scijava.io.location.BrowsableLocation dir, Collection<org.scijava.io.location.BrowsableLocation> nameList, int[] excludeAxes)
name - The filename to use as a template for the match.dir - The directory prefix to use for matching files.nameList - The names through which to search for matching files.excludeAxes - The list of axis types which should be excluded from the
pattern.String findPattern(String[] names)
Currently assumes that all file names are in the same directory.
String[] findImagePatterns(org.scijava.io.location.BrowsableLocation base) throws IOException
IOExceptionString[] findImagePatterns(org.scijava.io.location.BrowsableLocation base, org.scijava.io.location.BrowsableLocation dir, Collection<org.scijava.io.location.BrowsableLocation> nameList) throws IOException
IOExceptionCopyright © 2011–2026 SCIFIO. All rights reserved.