Package qupath.lib.projects
Class ProjectIO
java.lang.Object
qupath.lib.projects.ProjectIO
Read QuPath projects.
 
 Projects should now be written with Project.syncChanges()
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringGet the default extension for a QuPath project file, without the 'dot'.static StringgetProjectExtension(boolean includePeriod) Get the default extension for a QuPath project file.static <T> Project<T> loadProject(File fileProject, Class<T> cls) Load a project from a local file.static <T> Project<T> loadProject(URI uri, Class<T> cls) Read project from URI.
- 
Field Details- 
DEFAULT_PROJECT_NAMEDefault file name for a QuPath project.- See Also:
 
- 
DEFAULT_PROJECT_EXTENSIONDefault file extension for a QuPath project.- See Also:
 
 
- 
- 
Constructor Details- 
ProjectIOpublic ProjectIO()
 
- 
- 
Method Details- 
loadProjectRead project from URI. Currently, this assumes that the URI refers to a local file.- Parameters:
- uri-
- cls-
- Returns:
- Throws:
- IOException
 
- 
loadProjectLoad a project from a local file.- Parameters:
- fileProject-
- cls-
- Returns:
- Throws:
- IOException
 
- 
getProjectExtensionGet the default extension for a QuPath project file.- Parameters:
- includePeriod-
- Returns:
 
- 
getProjectExtensionGet the default extension for a QuPath project file, without the 'dot'.- Returns:
- See Also:
 
 
-