public class StaleFiles extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StaleFiles.AlphaMaskPath |
static class |
StaleFiles.CoordinateTransformPath |
static interface |
StaleFiles.Path |
Constructor and Description |
---|
StaleFiles() |
Modifier and Type | Method and Description |
---|---|
static boolean |
delete(Project project,
String topDir,
StaleFiles.Path g)
Generic method called by other methods of this class.
|
static boolean |
deleteAlphaMasks(Project project)
Delete all files storing a zipped image representing the alpha mask and which are now stale.
|
static boolean |
deleteCoordinateTransforms(Project project)
Delete all files storing a coordinate transform that are now stale.
|
public static final boolean deleteCoordinateTransforms(Project project)
Patch.getCoordinateTransformId()
.
This method uses the Utils.removeFile(File)
, which limits itself to files
under the trakem2.* temp data directories for safety.public static final boolean deleteAlphaMasks(Project project)
Patch.getAlphaMaskId()
.
This method uses the Utils.removeFile(File)
, which limits itself to files
under the trakem2.* temp data directories for safety.public static final boolean delete(Project project, String topDir, StaleFiles.Path g)
Copyright © 2015–2021 Fiji. All rights reserved.