Bug 128495 Provides BIRT Adapter of DTP Oda Design objects to/from ROM ODA Data Handles
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odaconsumer/Driver.java
defaultLogDir = Platform.asLocalURL( url ).getPath();
            }
            catch( IOException ex )
            {
                sm_logger.logp( Level.WARNING, sm_className, methodName,
                        "Not able to get Data Engine plugin directory.", ex );
                throw new DataException( ex.getLocalizedMessage(), ex );
            }
        }
        if( defaultLogDir == null )
        {
            sm_logger.logp( Level.WARNING, sm_className, methodName,
                    "Not able to determine ODA consumer default log directory." );
            throw new DataException( "" );    
       }
        return defaultLogDir;
    }
 
    private boolean isNullOrEmpty( String value )
    {
        return ( value == null || value.length() == 0 );
    }
    
    
    private boolean isNotEmpty( String value )
    {
        return ! isNullOrEmpty( value );
    }
}