View Javadoc

1   package com.flexiblewebsolutions.xdriveunit.loadtest;
2   
3   import java.io.File;
4   
5   import org.apache.log4j.Logger;
6   
7   import com.flexiblewebsolutions.io.util.FileUtils;
8   
9   /***
10   * @author Donavon Buss
11   */
12  public abstract class TestInputBuilder
13  {
14      static Logger logger = Logger.getLogger( TestInputBuilder.class.getName() );
15      public abstract void initDB();
16  
17      public void writeFile( File pFile, StringBuffer pData )
18      {
19          FileUtils fu = new FileUtils();
20          fu.writeFile( pFile, pData );
21          fu = null;
22      }
23  
24      public abstract void closeDB();
25  }