Class FileWriter

java.lang.Object
org.apache.axis2.util.FileWriter

public class FileWriter extends Object
  • Constructor Details

    • FileWriter

      public FileWriter()
  • Method Details

    • createClassFile

      public static File createClassFile(File rootLocation, String packageName, String fileName, String extension) throws IOException, Exception
      Creates/ returns a file object
      Parameters:
      rootLocation - - Location to be written
      packageName - - package, can be '.' separated
      fileName - name of the file
      extension - type of the file, java, cpp etc
      Returns:
      the File that was created
      Throws:
      IOException
      Exception