@Test public void testTruncDate() { Date dateBase = new Date( 118, Calendar.FEBRUARY, 15, 11, 11, 11 ); Calendar c = Calendar.getInstance(); c.set( 2011, Calendar.NOVEMBER, 11, 11, 11, 11 ); c.set( Calendar.MILLISECOND, 11 ); Date rtn = null; Calendar c2 = Calendar.getInstance(); rtn = ScriptValuesAddedFunctions.truncDate( dateBase, 5 ); c2.setTime( rtn ); Assert.assertEquals( Calendar.JANUARY, c2.get( Calendar.MONTH ) ); rtn = ScriptValuesAddedFunctions.truncDate( dateBase, 4 ); c2.setTime( rtn ); Assert.assertEquals( 1, c2.get( Calendar.DAY_OF_MONTH ) ); rtn = ScriptValuesAddedFunctions.truncDate( dateBase, 3 ); c2.setTime( rtn ); Assert.assertEquals( 0, c2.get( Calendar.HOUR_OF_DAY ) ); rtn = ScriptValuesAddedFunctions.truncDate( dateBase, 2 ); c2.setTime( rtn ); Assert.assertEquals( 0, c2.get( Calendar.MINUTE ) ); rtn = ScriptValuesAddedFunctions.truncDate( dateBase, 1 ); c2.setTime( rtn ); Assert.assertEquals( 0, c2.get( Calendar.SECOND ) ); rtn = ScriptValuesAddedFunctions.truncDate( dateBase, 0 ); c2.setTime( rtn ); Assert.assertEquals( 0, c2.get( Calendar.MILLISECOND ) ); try { ScriptValuesAddedFunctions.truncDate( rtn, 6 ); Assert.fail( "Expected exception - passed in level > 5 to truncDate" ); } catch ( Exception expected ) { } try { ScriptValuesAddedFunctions.truncDate( rtn, -7 ); Assert.fail( "Expected exception - passed in level < 0 to truncDate" ); } catch ( Exception expected ) { } }
@SuppressWarnings( "fallthrough" ) public static Object truncDate( Context actualContext, Scriptable actualObject, Object[] ArgList, Function FunctionContext ) { if ( ArgList.length == 2 ) { if ( isNull( ArgList[0] ) ) { return null; } else if ( isUndefined( ArgList[0] ) ) { return Context.getUndefinedValue(); } Date dArg1 = null; Integer level = null; try { dArg1 = (java.util.Date) Context.jsToJava( ArgList[0], java.util.Date.class ); level = (Integer) Context.jsToJava( ArgList[1], Integer.class ); } catch ( Exception e ) { throw Context.reportRuntimeError( e.toString() ); } return truncDate( dArg1, level ); } else { throw Context .reportRuntimeError( "The function call truncDate requires 2 arguments: a date and a level (int)" ); } }
ScriptValuesAddedFunctions extends ScriptableObject { @SuppressWarnings( "fallthrough" ) public static Object truncDate( Context actualContext, Scriptable actualObject, Object[] ArgList, Function FunctionContext ) { if ( ArgList.length == 2 ) { if ( isNull( ArgList[0] ) ) { return null; } else if ( isUndefined( ArgList[0] ) ) { return Context.getUndefinedValue(); } Date dArg1 = null; Integer level = null; try { dArg1 = (java.util.Date) Context.jsToJava( ArgList[0], java.util.Date.class ); level = (Integer) Context.jsToJava( ArgList[1], Integer.class ); } catch ( Exception e ) { throw Context.reportRuntimeError( e.toString() ); } return truncDate( dArg1, level ); } else { throw Context .reportRuntimeError( "The function call truncDate requires 2 arguments: a date and a level (int)" ); } } }
ScriptValuesAddedFunctions extends ScriptableObject { @SuppressWarnings( "fallthrough" ) public static Object truncDate( Context actualContext, Scriptable actualObject, Object[] ArgList, Function FunctionContext ) { if ( ArgList.length == 2 ) { if ( isNull( ArgList[0] ) ) { return null; } else if ( isUndefined( ArgList[0] ) ) { return Context.getUndefinedValue(); } Date dArg1 = null; Integer level = null; try { dArg1 = (java.util.Date) Context.jsToJava( ArgList[0], java.util.Date.class ); level = (Integer) Context.jsToJava( ArgList[1], Integer.class ); } catch ( Exception e ) { throw Context.reportRuntimeError( e.toString() ); } return truncDate( dArg1, level ); } else { throw Context .reportRuntimeError( "The function call truncDate requires 2 arguments: a date and a level (int)" ); } }  }
ScriptValuesAddedFunctions extends ScriptableObject { @SuppressWarnings( "fallthrough" ) public static Object truncDate( Context actualContext, Scriptable actualObject, Object[] ArgList, Function FunctionContext ) { if ( ArgList.length == 2 ) { if ( isNull( ArgList[0] ) ) { return null; } else if ( isUndefined( ArgList[0] ) ) { return Context.getUndefinedValue(); } Date dArg1 = null; Integer level = null; try { dArg1 = (java.util.Date) Context.jsToJava( ArgList[0], java.util.Date.class ); level = (Integer) Context.jsToJava( ArgList[1], Integer.class ); } catch ( Exception e ) { throw Context.reportRuntimeError( e.toString() ); } return truncDate( dArg1, level ); } else { throw Context .reportRuntimeError( "The function call truncDate requires 2 arguments: a date and a level (int)" ); } }  static String getDigitsOnly( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static boolean LuhnCheck( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static int indexOf( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object getTransformationName( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void appendToFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object getFiscalDate( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static double getProcessCount( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void writeToLog( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object abs( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object ceil( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object floor( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object getDayNumber( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object isWorkingDay( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); @SuppressWarnings( "unused" ) static Object fireToDB( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object dateDiff( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object getNextWorkingDay( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object dateAdd( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String fillString( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object isCodepage( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String ltrim( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String rtrim( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String lpad( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String rpad( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object year( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object month( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object quarter( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object week( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object str2RegExp( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void touch( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object fileExists( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object str2date( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object date2str( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object isRegExp( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void sendMail( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String upper( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String lower( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String num2str( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object str2num( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object isNum( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object isDate( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object decode( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String replace( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String Alert( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void setEnvironmentVar( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String getEnvironmentVar( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String trim( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String substr( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String resolveIP( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void LoadScriptFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void LoadScriptFromTab( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void print( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void println( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); String getClassName(); static void setVariable( Context actualContext, Scriptable actualObject, Object[] arguments,
    Function functionContext ); static String getVariable( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static RowMetaInterface getOutputRowMeta( Context actualContext, Scriptable actualObject,
    Object[] ArgList, Function FunctionContext ); static RowMetaInterface getInputRowMeta( Context actualContext, Scriptable actualObject,
    Object[] ArgList, Function FunctionContext ); static Object[] createRowCopy( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void putRow( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void deleteFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void createFolder( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void copyFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static double getFileSize( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static boolean isFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static boolean isFolder( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String getShortFilename( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String getFileExtension( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String getParentFoldername( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String getLastModifiedTime( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object trunc( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); @SuppressWarnings( "fallthrough" ) static Object truncDate( Context actualContext, Scriptable actualObject, Object[] ArgList, Function FunctionContext ); static void moveFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String execProcess( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Boolean isEmpty( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Boolean isMailValid( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String escapeXml( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String escapeHtml( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String unEscapeHtml( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String unEscapeXml( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String escapeSQL( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String protectXMLCDATA( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String removeDigits( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String initCap( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object loadFileContent( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static int getOcuranceString( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String removeCRLF( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); }
ScriptValuesAddedFunctions extends ScriptableObject { @SuppressWarnings( "fallthrough" ) public static Object truncDate( Context actualContext, Scriptable actualObject, Object[] ArgList, Function FunctionContext ) { if ( ArgList.length == 2 ) { if ( isNull( ArgList[0] ) ) { return null; } else if ( isUndefined( ArgList[0] ) ) { return Context.getUndefinedValue(); } Date dArg1 = null; Integer level = null; try { dArg1 = (java.util.Date) Context.jsToJava( ArgList[0], java.util.Date.class ); level = (Integer) Context.jsToJava( ArgList[1], Integer.class ); } catch ( Exception e ) { throw Context.reportRuntimeError( e.toString() ); } return truncDate( dArg1, level ); } else { throw Context .reportRuntimeError( "The function call truncDate requires 2 arguments: a date and a level (int)" ); } }  static String getDigitsOnly( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static boolean LuhnCheck( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static int indexOf( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object getTransformationName( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void appendToFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object getFiscalDate( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static double getProcessCount( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void writeToLog( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object abs( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object ceil( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object floor( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object getDayNumber( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object isWorkingDay( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); @SuppressWarnings( "unused" ) static Object fireToDB( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object dateDiff( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object getNextWorkingDay( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object dateAdd( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String fillString( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object isCodepage( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String ltrim( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String rtrim( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String lpad( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String rpad( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object year( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object month( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object quarter( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object week( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object str2RegExp( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void touch( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object fileExists( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object str2date( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object date2str( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object isRegExp( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void sendMail( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String upper( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String lower( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String num2str( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object str2num( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object isNum( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object isDate( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object decode( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String replace( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String Alert( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void setEnvironmentVar( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String getEnvironmentVar( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String trim( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String substr( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String resolveIP( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void LoadScriptFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void LoadScriptFromTab( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void print( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void println( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); String getClassName(); static void setVariable( Context actualContext, Scriptable actualObject, Object[] arguments,
    Function functionContext ); static String getVariable( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static RowMetaInterface getOutputRowMeta( Context actualContext, Scriptable actualObject,
    Object[] ArgList, Function FunctionContext ); static RowMetaInterface getInputRowMeta( Context actualContext, Scriptable actualObject,
    Object[] ArgList, Function FunctionContext ); static Object[] createRowCopy( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void putRow( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void deleteFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void createFolder( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static void copyFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static double getFileSize( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static boolean isFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static boolean isFolder( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String getShortFilename( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String getFileExtension( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String getParentFoldername( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String getLastModifiedTime( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object trunc( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); @SuppressWarnings( "fallthrough" ) static Object truncDate( Context actualContext, Scriptable actualObject, Object[] ArgList, Function FunctionContext ); static void moveFile( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String execProcess( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Boolean isEmpty( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Boolean isMailValid( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String escapeXml( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String escapeHtml( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String unEscapeHtml( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String unEscapeXml( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String escapeSQL( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String protectXMLCDATA( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String removeDigits( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String initCap( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static Object loadFileContent( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static int getOcuranceString( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static String removeCRLF( Context actualContext, Scriptable actualObject, Object[] ArgList,
    Function FunctionContext ); static final long serialVersionUID; static final int STRING_FUNCTION; static final int NUMERIC_FUNCTION; static final int DATE_FUNCTION; static final int LOGIC_FUNCTION; static final int SPECIAL_FUNCTION; static final int FILE_FUNCTION; static String[] jsFunctionList; }