(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: rtl ::

class Bootstrap


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
File
bootstrap.hxx

Public Members

Methods


Bootstrap( );
default ctor.

Bootstrap( const OUString & iniName );
Opens a bootstrap argment container

~Bootstrap( );
Closes a bootstrap argument container
sal_Bool
getFrom( const ::rtl::OUString & sName, ::rtl::OUString & outValue ) const;
Retrieves a bootstrap argument.
void
getFrom( const ::rtl::OUString & sName, ::rtl::OUString & outValue, const ::rtl::OUString & aDefault ) const;
Retrieves a bootstrap argument.
void
getIniName( ::rtl::OUString & iniName ) const;
Retrieves the name of the underlying ini-file.
void
expandMacrosFrom( ::rtl::OUString & macro ) const throw( );
Expands a macro using bootstrap variables.
rtlBootstrapHandle
getHandle( ) const throw( );
Provides the bootstrap internal handle.

Static Methods

static void
setIniFilename( const ::rtl::OUString & sFile );
static sal_Bool
get( const ::rtl::OUString & sName, ::rtl::OUString & outValue );
Retrieves a bootstrap parameter
static void
get( const ::rtl::OUString & sName, ::rtl::OUString & outValue, const ::rtl::OUString & aDefault );
Retrieves a bootstrap parameter
static void
set( const ::rtl::OUString & name, const ::rtl::OUString & value ) throw( );
Sets a bootstrap parameter.
static void
expandMacros( ::rtl::OUString & macro ) throw( );
Expands a macro using default bootstrap variables.
static ::rtl::OUString
encode( const ::rtl::OUString & value ) throw( );
Escapes special characters ("$" and "\").

Private Members

Data

void * _handle;

Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.