|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BirtException | |
---|---|
org.eclipse.birt.core.data | Provide BIRT's data util component. |
org.eclipse.birt.core.exception | Defines BIRT's Exception framework. |
org.eclipse.birt.core.framework | Defines the platform interfaces that allow BIRT to be run in Eclipse and server environments. |
org.eclipse.birt.core.framework.osgi | |
org.eclipse.birt.core.script | Provides Java Script support to BIRT. |
Uses of BirtException in org.eclipse.birt.core.data |
---|
Methods in org.eclipse.birt.core.data that throw BirtException | |
---|---|
static java.util.List |
ExpressionParserUtility.compileColumnExpression(ExpressionParserUtility util,
java.lang.String expression,
java.lang.String indicator)
compile the expression |
static java.util.List |
ExpressionParserUtility.compileColumnExpression(java.lang.String expression)
compile the expression |
static java.lang.Object |
DataTypeUtil.convert(java.lang.Object source,
java.lang.Class toTypeClass)
convert a object to given class Classes supported: Integer.class BigDecimal.class Boolean.class Time.class Date.class Double.class String.class Blob.class |
static java.lang.Object |
DataTypeUtil.convert(java.lang.Object source,
int toType)
convert an object to given type Types supported: DataType.INTEGER_TYPE DataType.DECIMAL_TYPE DataType.BOOLEAN_TYPE DataType.DATE_TYPE DataType.DOUBLE_TYPE DataType.STRING_TYPE DataType.BLOB_TYPE DataType.SQL_DATE_TYPE DataType.SQL_TIME_TYPE |
static java.util.List |
ExpressionUtil.extractColumnExpressions(java.lang.String oldExpression)
Extract all column expression info |
static java.util.List |
ExpressionUtil.extractColumnExpressions(java.lang.String oldExpression,
boolean mode)
Deprecated. use extractColumnExpressions( String, String ) instead |
static java.util.List |
ExpressionUtil.extractColumnExpressions(java.lang.String oldExpression,
java.lang.String indicator)
Extract all column expression info |
static java.lang.String |
DateFormatISO8601.format(java.util.Date date)
Parse a date/time string. |
static java.lang.String |
ExpressionUtil.getColumnBindingName(java.lang.String oldExpression)
Get the simplest column binding name. |
static java.lang.String |
ExpressionUtil.getColumnName(java.lang.String oldExpression)
Get the simplest column binding name. |
static boolean |
ExpressionParserUtility.hasAggregation(java.lang.String expression)
|
static java.util.Date |
DateFormatISO8601.parse(java.lang.String source,
com.ibm.icu.util.TimeZone timeZone)
Parse a date/time string. |
static int |
DataTypeUtil.toApiDataType(int odaDataTypeCode)
Converts an ODA data type code to its corresponding Data Engine API data type constant defined in DataType. |
static java.math.BigDecimal |
DataTypeUtil.toBigDecimal(java.lang.Object source)
Boolean -> BigDecimal true -> 1 others -> 0 Date -> BigDecimal Date.getTime(); String -> BigDecimal new BigDecimal(String); |
static java.sql.Blob |
DataTypeUtil.toBlob(java.lang.Object source)
Converting Blob to/from other types is not currently supported |
static java.lang.Boolean |
DataTypeUtil.toBoolean(java.lang.Object source)
Number -> Boolean 0 -> false others -> true String -> Boolean "true" -> true (ignore case) "false" -> false (ignore case) other string will throw an exception Date -> Boolean throw exception |
static byte[] |
DataTypeUtil.toBytes(java.lang.Object source)
|
static java.util.Date |
DataTypeUtil.toDate(java.lang.Object source)
Number -> Date new Date((long)Number) String -> Date toDate(String) |
static java.util.Date |
DataTypeUtil.toDate(java.lang.String source,
java.util.Locale locale)
A temp solution to the adoption of ICU4J to BIRT. |
static java.util.Date |
DataTypeUtil.toDate(java.lang.String source,
com.ibm.icu.util.TimeZone timeZone)
Convert a string to a Date instance according to the TimeZone value |
static java.util.Date |
DataTypeUtil.toDate(java.lang.String source,
com.ibm.icu.util.ULocale locale)
convert String with the specified locale to java.util.Date |
static java.util.Date |
DataTypeUtil.toDate(java.lang.String source,
com.ibm.icu.util.ULocale locale,
com.ibm.icu.util.TimeZone timeZone)
|
static java.util.Date |
DataTypeUtil.toDateWithCheck(java.lang.String source,
java.util.Locale locale)
A temp solution to the adoption of ICU4J in BIRT. |
static java.util.Date |
DataTypeUtil.toDateWithCheck(java.lang.String source,
com.ibm.icu.util.ULocale locale)
Convert string to date with check. |
static java.lang.Double |
DataTypeUtil.toDouble(java.lang.Object source)
Boolean -> Double true -> 1 others -> 0 Date -> Double Date.getTime(); String -> Double Double.valueOf(String); |
static java.lang.Integer |
DataTypeUtil.toInteger(java.lang.Object source)
Boolean -> Integer true -> 1 others -> 0 Date -> Integer Date.getTime(); String -> Integer Integer.valueOf(); |
static java.lang.String |
DataTypeUtil.toLocaleNeutralString(java.lang.Object source)
Convert an object to an locale neutral String value. |
static java.lang.Class |
DataTypeUtil.toOdiTypeClass(int odaDataTypeCode)
Converts an ODA data type code to the Java class of its corresponding Data Engine ODI data type. |
static java.sql.Date |
DataTypeUtil.toSqlDate(java.lang.Object source)
Date -> Time String -> Time |
static java.sql.Time |
DataTypeUtil.toSqlTime(java.lang.Object source)
Date -> Time String -> Time |
static java.lang.String |
DataTypeUtil.toString(java.lang.Object source)
Number -> String Number.toString() Boolean -> String Boolean.toString() Date -> String toString(Date) |
static java.lang.String |
DataTypeUtil.toString(java.lang.Object source,
java.util.Locale locale)
A temp solution to the adoption of ICU4J. |
static java.lang.String |
DataTypeUtil.toString(java.lang.Object source,
com.ibm.icu.util.ULocale locale)
Number -> String Number.toString() Boolean -> String Boolean.toString() Date -> String toString(Date,locale) |
Uses of BirtException in org.eclipse.birt.core.exception |
---|
Subclasses of BirtException in org.eclipse.birt.core.exception | |
---|---|
class |
CoreException
Exception thrown by birt.core classes |
Uses of BirtException in org.eclipse.birt.core.framework |
---|
Subclasses of BirtException in org.eclipse.birt.core.framework | |
---|---|
class |
FrameworkException
A checked exception representing a failure. |
Methods in org.eclipse.birt.core.framework that throw BirtException | |
---|---|
static void |
Platform.startup(PlatformConfig config)
startup the platform. |
Uses of BirtException in org.eclipse.birt.core.framework.osgi |
---|
Methods in org.eclipse.birt.core.framework.osgi that throw BirtException | |
---|---|
void |
OSGILauncher.startup(PlatformConfig config)
|
Uses of BirtException in org.eclipse.birt.core.script |
---|
Methods in org.eclipse.birt.core.script that return BirtException | |
---|---|
static BirtException |
JavascriptEvalUtil.wrapRhinoException(org.mozilla.javascript.RhinoException e,
java.lang.String scriptText,
java.lang.String source,
int lineNo)
Converts Rhino exception (a runtime exception) to BirtException |
Methods in org.eclipse.birt.core.script that throw BirtException | |
---|---|
static java.lang.Number |
MathUtil.abs(java.lang.Object number)
|
static java.lang.Number |
MathUtil.add(java.lang.Object obj1,
java.lang.Object obj2)
add operation. |
static int |
MathUtil.compare(java.lang.Object number1,
java.lang.Object number2)
|
static int |
MathUtil.compareTo0(java.lang.Object number)
|
static java.lang.Number |
MathUtil.divide(java.lang.Object dividend,
java.lang.Object divisor)
|
java.lang.Object |
ScriptContext.eval(ScriptExpression expr)
evaluates a script |
java.lang.Object |
ScriptContext.eval(java.lang.String source)
evaluates a script |
java.lang.Object |
ScriptContext.eval(java.lang.String source,
org.mozilla.javascript.Scriptable scope)
Evaluates a String with given scope. |
static java.lang.Object |
JavascriptEvalUtil.evaluateRawScript(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
java.lang.String scriptText,
java.lang.String source,
int lineNo)
This method will not convert the data of return value, so it might the Java data type or that of Java Script. |
static java.lang.Object |
JavascriptEvalUtil.evaluateScript(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
java.lang.String scriptText,
java.lang.String source,
int lineNo)
Evaluates Javascript expression and return its result, doing the necessary Javascript -> Java data type conversion if necessary |
static java.lang.Number |
MathUtil.multiply(java.lang.Object obj1,
java.lang.Object obj2)
|
static java.lang.Number |
MathUtil.negate(java.lang.Object number)
|
static java.lang.Object |
MathUtil.safeDivide(java.lang.Object dividend,
java.lang.Object divisor,
java.lang.Object ifZero)
|
static java.lang.Number |
MathUtil.subtract(java.lang.Object obj1,
java.lang.Object obj2)
|
static java.lang.Number |
MathUtil.toNumber(java.lang.Object obj1)
add operation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |