ReportMill 12 API

com.reportmill.datasource
Class RMGAEDataSourceUtils

java.lang.Object
  extended by com.reportmill.datasource.RMGAEDataSourceUtils

public class RMGAEDataSourceUtils
extends java.lang.Object

Some Google App Engine data source utility methods.


Nested Class Summary
static class RMGAEDataSourceUtils.RemoteFileSyncActivity
          An activity to do remote file sync.
 
Constructor Summary
RMGAEDataSourceUtils()
           
 
Method Summary
static java.lang.String getAlphaNumericString(java.lang.String aString)
          Returns an alpha numeric string for given string.
static java.lang.Process getAppcfgProcess(RMGAEDataSource aDataSource, com.reportmill.base.RMActivity anActivity, java.lang.String aCommand)
          Does a sync on local file directory with GAE application via "appcfg update".
static java.io.File getAppEngineToolsJarFile(com.reportmill.base.RMLogger aLogger, com.reportmill.base.RMUtils.ProgressListener aProgressListener)
          Returns the app engine tools jar file.
static java.io.File getGAEDirectory()
          Returns a file for GAE directory (creating it, if absent).
static java.io.File getGoogleSDKDirectory(com.reportmill.base.RMLogger aLogger, com.reportmill.base.RMUtils.ProgressListener aProgressListener)
          Returns the sdk directory file.
static java.io.File getWebInfFile(RMGAEDataSource aDataSource, com.reportmill.base.RMLogger aLogger, com.reportmill.base.RMUtils.ProgressListener aListener)
          Returns the WEB-INF file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMGAEDataSourceUtils

public RMGAEDataSourceUtils()
Method Detail

getGAEDirectory

public static java.io.File getGAEDirectory()
Returns a file for GAE directory (creating it, if absent).


getAppcfgProcess

public static java.lang.Process getAppcfgProcess(RMGAEDataSource aDataSource,
                                                 com.reportmill.base.RMActivity anActivity,
                                                 java.lang.String aCommand)
Does a sync on local file directory with GAE application via "appcfg update".


getAppEngineToolsJarFile

public static java.io.File getAppEngineToolsJarFile(com.reportmill.base.RMLogger aLogger,
                                                    com.reportmill.base.RMUtils.ProgressListener aProgressListener)
Returns the app engine tools jar file.


getGoogleSDKDirectory

public static java.io.File getGoogleSDKDirectory(com.reportmill.base.RMLogger aLogger,
                                                 com.reportmill.base.RMUtils.ProgressListener aProgressListener)
Returns the sdk directory file.


getWebInfFile

public static java.io.File getWebInfFile(RMGAEDataSource aDataSource,
                                         com.reportmill.base.RMLogger aLogger,
                                         com.reportmill.base.RMUtils.ProgressListener aListener)
Returns the WEB-INF file.


getAlphaNumericString

public static java.lang.String getAlphaNumericString(java.lang.String aString)
Returns an alpha numeric string for given string.


ReportMill 12 API