Class CBuilderXProjectWriter

  • All Implemented Interfaces:
    ProjectWriter

    public final class CBuilderXProjectWriter
    extends java.lang.Object
    implements ProjectWriter
    Writes a CBuilderX 1.0 project file.
    Author:
    curta
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void writeProject​(java.io.File fileName, CCTask task, ProjectDef projectDef, java.util.List sources, java.util.Hashtable targets, TargetInfo linkTarget)
      Writes a project definition file.
      • Methods inherited from class java.lang.Object

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

      • CBuilderXProjectWriter

        public CBuilderXProjectWriter()
        Constructor.
    • Method Detail

      • writeProject

        public void writeProject​(java.io.File fileName,
                                 CCTask task,
                                 ProjectDef projectDef,
                                 java.util.List sources,
                                 java.util.Hashtable targets,
                                 TargetInfo linkTarget)
                          throws java.io.IOException,
                                 org.xml.sax.SAXException
        Writes a project definition file.
        Specified by:
        writeProject in interface ProjectWriter
        Parameters:
        fileName - project name for file, should has .cbx extension
        task - cc task for which to write project
        projectDef - project element
        sources - source files
        targets - compilation targets
        linkTarget - link target
        Throws:
        java.io.IOException - if I/O error
        org.xml.sax.SAXException - if XML serialization error