Package qupath.ext.braian.utils
Class BraiAn
java.lang.Object
qupath.ext.braian.utils.BraiAn
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> String
join
(Collection<T> c, String delimiter) static void
populatePathClassGUI
(qupath.lib.objects.classes.PathClass... toAdd) static Path
resolvePath
(String fileName) It searches for a file accordingly to BraiAn specifics: it first searches it in the project's path; if it is not present, it searches it in the parent directory, were supposedly other QuPath projects of the same experiment reside.resolvePathIfPresent
(String fileName)
-
Constructor Details
-
BraiAn
public BraiAn()
-
-
Method Details
-
resolvePathIfPresent
-
resolvePath
It searches for a file accordingly to BraiAn specifics: it first searches it in the project's path; if it is not present, it searches it in the parent directory, were supposedly other QuPath projects of the same experiment reside.- Parameters:
fileName
- the name of the file to search accordingly to BraiAn- Returns:
- the complete path to
fileName
. - Throws:
FileNotFoundException
- if no file namedfileName
was found.
-
populatePathClassGUI
public static void populatePathClassGUI(qupath.lib.objects.classes.PathClass... toAdd) -
join
-