de.jaret.util.infoprovider
Interface JaretInfoProvider

All Known Implementing Classes:
JavaSystemInfoProvider, SWTInfoProvider

public interface JaretInfoProvider

Interface for an information provider providing hirarchical structured information in a key/value fashion .

Version:
$Id: JaretInfoProvider.java 242 2007-02-11 21:05:07Z olk $
Author:
Peter Kliem

Method Summary
 void addSubInfoProvider(JaretInfoProvider infoProvider)
          Add an information provider as a sub information provider
 int getAccess()
          Access to the information provided by this infoprovider
 String getInfoProviderName()
          Give a human readable name for the information provider
 List<JaretInfoProvider> getSubInfoProviders()
          List of subinformation providers registered to this info provider
 List<SysInfoEntry> getSysInfoEntries()
          return a list of the info entries
 void remSubInfoProvider(JaretInfoProvider infoProvider)
          Remove agegsitered sub infoprovider
 

Method Detail

getInfoProviderName

String getInfoProviderName()
Give a human readable name for the information provider

Returns:
Name to be displayed

getAccess

int getAccess()
Access to the information provided by this infoprovider

Returns:
one of the JaretAccess constants

getSysInfoEntries

List<SysInfoEntry> getSysInfoEntries()
return a list of the info entries

Returns:
List of the information as SysInfoEntries

getSubInfoProviders

List<JaretInfoProvider> getSubInfoProviders()
List of subinformation providers registered to this info provider

Returns:
List of the registered infoprovders

addSubInfoProvider

void addSubInfoProvider(JaretInfoProvider infoProvider)
Add an information provider as a sub information provider

Parameters:
infoProvider - infoprovider to be added

remSubInfoProvider

void remSubInfoProvider(JaretInfoProvider infoProvider)
Remove agegsitered sub infoprovider

Parameters:
infoProvider - infoprovider to be removed


Copyright © 2013. All Rights Reserved.