Interface ProjectPaths
- All Known Implementing Classes:
DesktopProject
,LocalProject
,ShadowProject
public interface ProjectPaths
Interface providing project paths. This is used to provide direct access project location
information.
-
Method Summary
Modifier and TypeMethodDescriptiongetCorpusPath
(String corpus) Return the path to the given corpus.The location of the project.getSessionPath
(Session session) Get path to the given session.getSessionPath
(String corpus, String session) Get path to the given session.void
setCorpusPath
(String corpus, String path) Set path of corpus.
-
Method Details
-
getLocation
String getLocation()The location of the project. Meaning is dependent on implementation. ForLocalProject
s this is the path to the project on disk.- Returns:
- the project location
-
getCorpusPath
-
setCorpusPath
Set path of corpus.- Parameters:
corpus
- the corpus namepath
- the new path for the corpus- Throws:
UnsupportedOperationException
- if the project does not support changing corpus paths
-
getSessionPath
-
getSessionPath
-