org.ogre4j
Interface IConfigFile

All Superinterfaces:
IAllocatedObject<IGeneralAllocPolicy>, IGeneralAllocatedObject, INativeObject
All Known Implementing Classes:
ConfigFile

public interface IConfigFile
extends INativeObject, IGeneralAllocatedObject


Nested Class Summary
static interface IConfigFile.ISectionIterator
           
static interface IConfigFile.ISettingsBySection
           
static interface IConfigFile.ISettingsIterator
           
static interface IConfigFile.ISettingsMultiMap
           
 
Method Summary
 void clear()
          Clear the settings
 void getMultiSetting(IStringVector returnValue, java.lang.String key, java.lang.String section)
          Gets all settings from the file with the named key.
 void getSectionIterator(IConfigFile.ISectionIterator returnValue)
          Get an iterator over all the available sections in the config file
 java.lang.String getSetting(java.lang.String key, java.lang.String section, java.lang.String defaultValue)
          Gets the first setting from the file with the named key.
 void getSettingsIterator(IConfigFile.ISettingsIterator returnValue, java.lang.String section)
          Get an iterator over all the available settings in a section
 void load(IDataStreamPtr stream, java.lang.String separators, boolean trimWhitespace)
           
 void load(java.lang.String filename, java.lang.String separators, boolean trimWhitespace)
           
 void load(java.lang.String filename, java.lang.String resourceGroup, java.lang.String separators, boolean trimWhitespace)
           
 void loadDirect(java.lang.String filename, java.lang.String separators, boolean trimWhitespace)
           
 void loadFromResourceSystem(java.lang.String filename, java.lang.String resourceGroup, java.lang.String separators, boolean trimWhitespace)
           
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

load

void load(java.lang.String filename,
          java.lang.String separators,
          boolean trimWhitespace)

load

void load(java.lang.String filename,
          java.lang.String resourceGroup,
          java.lang.String separators,
          boolean trimWhitespace)

load

void load(IDataStreamPtr stream,
          java.lang.String separators,
          boolean trimWhitespace)

loadDirect

void loadDirect(java.lang.String filename,
                java.lang.String separators,
                boolean trimWhitespace)

loadFromResourceSystem

void loadFromResourceSystem(java.lang.String filename,
                            java.lang.String resourceGroup,
                            java.lang.String separators,
                            boolean trimWhitespace)

getSetting

java.lang.String getSetting(java.lang.String key,
                            java.lang.String section,
                            java.lang.String defaultValue)
Gets the first setting from the file with the named key.


getMultiSetting

void getMultiSetting(IStringVector returnValue,
                     java.lang.String key,
                     java.lang.String section)
Gets all settings from the file with the named key.


getSectionIterator

void getSectionIterator(IConfigFile.ISectionIterator returnValue)
Get an iterator over all the available sections in the config file


getSettingsIterator

void getSettingsIterator(IConfigFile.ISettingsIterator returnValue,
                         java.lang.String section)
Get an iterator over all the available settings in a section


clear

void clear()
Clear the settings



Copyright © 2007 netAllied GmbH. All Rights Reserved.