Class EclipseUtil


  • public class EclipseUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      EclipseUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void createClasspath​(Project model)
      Create a classpath for the project, overwriting an existing classpath
      static void createProject​(Project model)
      Create a classpath for the project, overwriting an existing classpath
      static void fixDirectories​(Project model)
      Fix the source & test directories if they are empty
      static java.lang.String getClasspath​(Project model)
      Get the .classpath file for a project
      static java.lang.String getProjectDescription​(Project model)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EclipseUtil

        public EclipseUtil()
    • Method Detail

      • getClasspath

        public static java.lang.String getClasspath​(Project model)
                                             throws java.lang.Exception
        Get the .classpath file for a project
         
                
                
                                        
                                        
                                                
                                        
                                
                
                
                        
                        
                                
                        
                
                
                
         
        Parameters:
        model -
        Throws:
        java.lang.Exception
      • createClasspath

        public static void createClasspath​(Project model)
                                    throws java.lang.Exception
        Create a classpath for the project, overwriting an existing classpath
        Parameters:
        model - the project
        Throws:
        java.lang.Exception
      • fixDirectories

        public static void fixDirectories​(Project model)
                                   throws java.lang.Exception
        Fix the source & test directories if they are empty
        Parameters:
        model - the project
        Throws:
        java.lang.Exception
      • createProject

        public static void createProject​(Project model)
                                  throws java.lang.Exception
        Create a classpath for the project, overwriting an existing classpath
        Parameters:
        model - the project
        Throws:
        java.lang.Exception
      • getProjectDescription

        public static java.lang.String getProjectDescription​(Project model)