Class ProjectPath

java.lang.Object
ca.phon.project.ProjectPath

public class ProjectPath extends Object
Path used for project drag invalid input: '&' drop support. The path may point to either a corpus folder or session file.
  • Constructor Details

    • ProjectPath

      public ProjectPath(Project project)
    • ProjectPath

      public ProjectPath(Project project, Session session)
    • ProjectPath

      public ProjectPath(Project project, String corpus, String sessionName)
  • Method Details

    • getProject

      public Project getProject()
    • setProject

      public void setProject(Project project)
    • getCorpus

      public String getCorpus()
    • setCorpus

      public void setCorpus(String corpus)
    • getSession

      public String getSession()
    • setSession

      public void setSession(String session)
    • isProjectPath

      public boolean isProjectPath()
    • isCorpusPath

      public boolean isCorpusPath()
    • isSessionPath

      public boolean isSessionPath()
    • getAbsolutePath

      public String getAbsolutePath()
      Return absolute file path
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object