|
|||||||||
Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
com.tripi.asp
Class VBScriptGlobals

java.lang.Objectcom.tripi.asp.VBScriptGlobals
- public class VBScriptGlobals
- extends java.lang.Object
The VBScriptGlobals class handles variables global to every VBScript expression, such as global functions and variables.
State of variable implementation:
- Color Constants
- vbBlack - TODO Not implemented.
- vbBlue - TODO Not implemented.
- vbRed - TODO Not implemented.
- vbMagenta - TODO Not implemented.
- vbGreen - TODO Not implemented.
- vbCyan - TODO Not implemented.
- vbYellow - TODO Not implemented.
- vbWhite - TODO Not implemented.
- Comparison Constants
- vbBinaryCompare - Fully implemented.
- vbTextCompare - Fully implemented.
- Date and Time Constants
- vbSunday - Fully implemented.
- vbMonday - Fully implemented.
- vbTuesday - Fully implemented.
- vbWednesday - Fully implemented.
- vbThursday - Fully implemented.
- vbFriday - Fully implemented.
- vbSaturday - Fully implemented.
- vbUseSystem - Fully implemented.
- vbUseSystemDayOfWeek - TODO Not implemented.
- vbFirstJan1 - TODO Not implemented.
- vbFirstFourDays - TODO Not implemented.
- vbFirstFullWeek - TODO Not implemented.
- Date Format Constants
- vbGeneralDate - Implemented.
- vbLongDate - Implemented.
- vbLongTime - Implemented.
- vbShortDate - Implemented.
- vbShortTime - Implemented.
- Error Constants
- vbObjectError - TODO Not implemented.
- Logical and Tri-State Constants
- NULL - Fully implemented
- FALSE - Fully implemented
- TRUE - Fully implemented
- vbTrue - TODO Not implemented.
- vbFalse - TODO Not implemented.
- vbUseDefault - TODO Not implemented.
- Special Character Constants
- vbCr - TODO Not implemented.
- vbNullChar - TODO Not implemented.
- vbCrLf - Fully implemented.
- vbNullString - TODO Not implemented.
- vbFormFeed - TODO Not implemented.
- vbTab - TODO Not implemented.
- vbLf - TODO Not implemented.
- vbVericalTab - TODO Not implemented.
- vbNewline - Fully Implemented
- Variable Sub-Type Constants
- vbArray - TODO Not implemented.
- vbError - TODO Not implemented.
- vbBoolean - TODO Not implemented.
- vbInteger - TODO Not implemented.
- vbByte - TODO Not implemented.
- vbLong - TODO Not implemented.
- vbCurrency - TODO Not implemented.
- vbNull - TODO Not implemented.
- vbDataObject - TODO Not implemented.
- vbObject - TODO Not implemented.
- vbDate - TODO Not implemented.
- vbSingle - TODO Not implemented.
- vbDecimal - TODO Not implemented.
- vbString - TODO Not implemented.
- vbDouble - TODO Not implemented.
- vbVariant - TODO Not implemented.
- vbEmpty - TODO Not implemented.
State of function implementation:
- abs - Implemented for double and int. TODO Not implemented for NULL value, nor undefined.
- array - Fully implemented.
- asc - Fully implemented (as Unicode).
- ascb - Fully implemented
- ascw - Fully implemented.
- atn - Fully implemented.
- cbool - Fully implemented.
- cbyte - Fully implemented.
- ccur - TODO Not implemented.
- cdate - Works for string expression. TODO works for numeric values?
- cdbl - Fully implemented.
- chr - Fully implemented.
- chrb - TODO Not implemented.
- chrw - Fully implemented.
- cint - Implemented. TODO Does not handle out-of-range.
- clng - TODO converts to a long, 32-bit integer.
- cos - Fully implemented.
- createobject - Implemented, TODO does not handle the location variable. Also, there is no way to define custom names.
- csng - Implemented, TODO does not handle out-of-range.
- cstr - Implemented, TODO does not throw error on NULL values.
- date - Fully implemented.
- dateadd - Fully implemented.
- datediff - Implemented, TODO not for 'w', nor 'ww' field, nor handles fourth and fifth fields.
- datepart - Implemented, TODO weekday constants may not be correct.
- dateserial - Fully implemented.
- datevalue - Fully implemented.
- day - TODO Not implemented.
- erase - Fully implemented.
- exp - Fully implemented.
- filter - TODO Not implemented.
- fix - Fully implemented.
- formatcurrency - TODO Not implemented.
- formatdatetime - Implemented, TODO does not handle vbGeneralDate properly because there is no distinction between date and time in java.util.Date.
- formatnumber - Implemented, TODO does not handle all parameters
- formatpercent - TODO Not implemented.
- getlocale - TODO Not implemented.
- getobject - TODO Not implemented.
- getref - TODO Not implemented.
- hex - Fully implemented.
- hour - Fully implemented.
- instr - Fully implemented.
- instrb - TODO Not implemented.
- instrrev - Fully implemented.
- int - Fully implemented.
- isarray - Fully implemented.
- isdate - Fully implemented
- isempty - Fully implemented
- isnull - Fully implemented
- isnumeric - Fully implemented
- isobject - Fully implemented
- join - Fully implemented.
- lbound - Fully implemented.
- lcase - Fully implemented.
- left - Fully implemented.
- leftb - TODO Not implemented.
- len - Implemented TODO "number of bytes to store a varaible" not implemented.
- lenb - TODO Not implemented.
- log - Fully implemented.
- ltrim - Fully implemented.
- mid - Fully implemented.
- midb - TODO Not implemented.
- minute - Fully implemented.
- month - Fully implemented.
- monthname - Fully implemented.
- now - Fully implemented.
- replace - Fully implemented.
- rgb - Fully implemented.
- randomize - Fully implemented.
- right - Fully implemented.
- rightb - TODO Not implemented.
- rnd - Fully implemented.
- round - Fully implemented.
- rtrim - Fully implemented.
- scriptengine - Fully implemented.
- scriptenginebuildengine - Fully implemented.
- scriptenginemajorversion - Fully implemented.
- scriptengineminorversion - Fully implemented.
- second - Fully implemented.
- setlocale - TODO Not implemented.
- sgn - Fully implemented.
- sin - Fully implemented.
- space - Fully implemented.
- split - Fully implemented.
- sqr - Fully implemented.
- strcomp - Fully implemented.
- string - Fully implemented.
- strreverse - Fully implemented.
- tan - Fully implemented.
- time - Fully implemented.
- timer - TODO Not implemented.
- timeserial - Fully implemented.
- timevalue - TODO Not implemented.
- trim - Fully implemented.
- typename - TODO Not implemented.
- ucase - Fully implemented.
- vartype - TODO Not implemented.
- weekday - Fully implemented.
- weekdayname - Implemented, TODO but not for first day of week parameter.
- year - Fully implemented.
- Version:
- 0.9
Nested Class Summary | |
(package private) static class |
VBScriptGlobals.AbsFunction
Absolute function |
(package private) static class |
VBScriptGlobals.ArrayFunction
Array creation function |
(package private) static class |
VBScriptGlobals.AscBFunction
Ascii Byte function |
(package private) static class |
VBScriptGlobals.AscFunction
Ascii function |
(package private) static class |
VBScriptGlobals.AtnFunction
Arc-Tangent function |
(package private) static class |
VBScriptGlobals.CBoolFunction
Boolean conversion function |
(package private) static class |
VBScriptGlobals.CByteFunction
Byte (range 0-255) conversion function |
(package private) static class |
VBScriptGlobals.CDateFunction
Date conversion function |
(package private) static class |
VBScriptGlobals.CDblFunction
Double conversion function |
(package private) static class |
VBScriptGlobals.ChrFunction
Character conversion function |
(package private) static class |
VBScriptGlobals.CIntFunction
16-bit integer conversion function |
(package private) static class |
VBScriptGlobals.CLngFunction
32-bit integer conversion function |
(package private) static class |
VBScriptGlobals.CosFunction
Trigometric cosine function |
(package private) static class |
VBScriptGlobals.CreateObjectFunction
Object creation function |
(package private) static class |
VBScriptGlobals.CStrFunction
String conversion function |
(package private) static class |
VBScriptGlobals.DateAddFunction
Date addition function |
(package private) static class |
VBScriptGlobals.DateDiffFunction
Date difference function |
(package private) static class |
VBScriptGlobals.DateFunction
Date current time function |
(package private) static class |
VBScriptGlobals.DatePartFunction
Date part function |
(package private) static class |
VBScriptGlobals.DateSerialFunction
Date serial function |
(package private) static class |
VBScriptGlobals.DateValueFunction
Date value function |
(package private) static class |
VBScriptGlobals.DayFunction
Day function |
(package private) static class |
VBScriptGlobals.EraseFunction
Erase function |
(package private) static class |
VBScriptGlobals.ExpFunction
Math exponent function |
(package private) static class |
VBScriptGlobals.FixFunction
Number fix function |
(package private) static class |
VBScriptGlobals.FormatDateFunction
Format date function |
(package private) static class |
VBScriptGlobals.FormatNumberFunction
Format number function |
(package private) static class |
VBScriptGlobals.HexFunction
Hex format function |
(package private) static class |
VBScriptGlobals.HourFunction
Hour function |
(package private) static class |
VBScriptGlobals.InStrFunction
String search function |
(package private) static class |
VBScriptGlobals.InStrRevFunction
Reverse string search function |
(package private) static class |
VBScriptGlobals.IntFunction
Convert to integer function |
(package private) static class |
VBScriptGlobals.IsArrayFunction
Boolean is array function |
(package private) static class |
VBScriptGlobals.IsDateFunction
Boolean is date function |
(package private) static class |
VBScriptGlobals.IsEmptyFunction
Empty test function |
(package private) static class |
VBScriptGlobals.IsNullFunction
Null test function |
(package private) static class |
VBScriptGlobals.IsNumericFunction
Numeric test function |
(package private) static class |
VBScriptGlobals.IsObjectFunction
Object test function |
(package private) static class |
VBScriptGlobals.JoinFunction
Array Join function |
(package private) static class |
VBScriptGlobals.LBoundFunction
Lower bound function |
(package private) static class |
VBScriptGlobals.LCaseFunction
Lower case function |
(package private) static class |
VBScriptGlobals.LeftFunction
Left string function |
(package private) static class |
VBScriptGlobals.LenFunction
Length function |
(package private) static class |
VBScriptGlobals.LogFunction
Logarithmic function |
(package private) static class |
VBScriptGlobals.LTrimFunction
String left trim function |
(package private) static class |
VBScriptGlobals.MidFunction
Mid string function |
(package private) static class |
VBScriptGlobals.MinuteFunction
Minute function |
(package private) static class |
VBScriptGlobals.MonthFunction
Month function |
(package private) static class |
VBScriptGlobals.MonthNameFunction
Month name function |
(package private) static class |
VBScriptGlobals.NowFunction
Date current time function |
(package private) static class |
VBScriptGlobals.OctFunction
Octal format function |
(package private) static class |
VBScriptGlobals.RandomizeFunction
Random number initialization function |
(package private) static class |
VBScriptGlobals.ReplaceFunction
String replace function |
(package private) static class |
VBScriptGlobals.RGBFunction
RGB function |
(package private) static class |
VBScriptGlobals.RightFunction
String right function |
(package private) static class |
VBScriptGlobals.RndFunction
Random number function |
(package private) static class |
VBScriptGlobals.RoundFunction
Round function |
(package private) static class |
VBScriptGlobals.RTrimFunction
String left trim function |
(package private) static class |
VBScriptGlobals.ScriptEngineBuildVersionFunction
Script Engine Build Version function |
(package private) static class |
VBScriptGlobals.ScriptEngineFunction
Script Engine function |
(package private) static class |
VBScriptGlobals.ScriptEngineMajorVersionFunction
Script Engine Major Version function |
(package private) static class |
VBScriptGlobals.ScriptEngineMinorVersionFunction
Script Engine Minor Version function |
(package private) static class |
VBScriptGlobals.SecondFunction
Second function |
(package private) static class |
VBScriptGlobals.SgnFunction
Sgn function |
(package private) static class |
VBScriptGlobals.SinFunction
Trigometric sine function |
(package private) static class |
VBScriptGlobals.SpaceFunction
Space function |
(package private) static class |
VBScriptGlobals.SplitFunction
Split function |
(package private) static class |
VBScriptGlobals.SqrFunction
Square root function |
(package private) static class |
VBScriptGlobals.StrCompFunction
String compare function |
(package private) static class |
VBScriptGlobals.StringFunction
Character repeat function |
(package private) static class |
VBScriptGlobals.StrReverseFunction
String reverse function |
(package private) static class |
VBScriptGlobals.TanFunction
Trigometric tangent function |
(package private) static class |
VBScriptGlobals.TimeFunction
Date current time function |
(package private) static class |
VBScriptGlobals.TimeSerialFunction
Time serial function |
(package private) static class |
VBScriptGlobals.TrimFunction
String trim function |
(package private) static class |
VBScriptGlobals.UBoundFunction
Upper bound function |
(package private) static class |
VBScriptGlobals.UCaseFunction
Upper case function |
(package private) static class |
VBScriptGlobals.WeekdayFunction
Weekday function |
(package private) static class |
VBScriptGlobals.WeekdayNameFunction
Weekday name function |
(package private) static class |
VBScriptGlobals.YearFunction
Year function |
Field Summary | |
private static org.apache.log4j.Category |
DBG
Debugging category |
static int |
vbBinaryCompare
Binary compare |
static int |
vbGeneralDate
"General" date |
static int |
vbLongDate
"Long" date format |
static int |
vbLongTime
"Long" time format |
static int |
vbShortDate
"Short" date format |
static int |
vbShortTime
"Short" time format |
static int |
vbTextCompare
Text compare |
Constructor Summary | |
private |
VBScriptGlobals()
Private constructor, so class cannot be initialized |
Method Summary | |
protected static void |
initScope(java.util.Hashtable context)
Constructor, takes no arguments |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
DBG
private static final org.apache.log4j.Category DBG
- Debugging category
vbGeneralDate
public static final int vbGeneralDate
- "General" date
- See Also:
- Constant Field Values
vbLongDate
public static final int vbLongDate
- "Long" date format
- See Also:
- Constant Field Values
vbShortDate
public static final int vbShortDate
- "Short" date format
- See Also:
- Constant Field Values
vbLongTime
public static final int vbLongTime
- "Long" time format
- See Also:
- Constant Field Values
vbShortTime
public static final int vbShortTime
- "Short" time format
- See Also:
- Constant Field Values
vbBinaryCompare
public static final int vbBinaryCompare
- Binary compare
- See Also:
- Constant Field Values
vbTextCompare
public static final int vbTextCompare
- Text compare
- See Also:
- Constant Field Values
Constructor Detail |
VBScriptGlobals
private VBScriptGlobals()
- Private constructor, so class cannot be initialized
Method Detail |
initScope
protected static void initScope(java.util.Hashtable context) throws AspException
- Constructor, takes no arguments
|
|||||||||
Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |