Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Project Rio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jini.rio.boot
Class PlatformLoader

    java.lang.Object
      org.jini.rio.boot.PlatformLoader

    public class PlatformLoader

extends Object

Parses platform configuration documents

Nested Class Summary
`static class` | `PlatformLoader.Capability` Contains attributes for a platform capability.

Constructor Summary
`PlatformLoader()`

Method Summary
`PlatformLoader.Capability[]` | `getDefaultPlatform()` Get the default platform configuration
`PlatformLoader.Capability[]` | `parsePlatform(String directory)` Parse the platform

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PlatformLoader

    public PlatformLoader()

Method Detail

### parsePlatform

    public PlatformLoader.Capability[] parsePlatform(String directory)
                                              throws Exception

  Parse the platform

  Parameters:
    `directory` - The directory to search for XML cfiguration documents
  Returns:
    An array of Capability objects
  Throws:
    `Exception` - if there are errors parsing the configuration files

### getDefaultPlatform

    public PlatformLoader.Capability[] getDefaultPlatform()
                                                   throws Exception

  Get the default platform configuration

  Returns:
    An array of Capability objects returned from parsing the default configuration META-INF/platform.xml
  Throws:
    `Exception` - if there are errors parsing and/or processing the default configuration

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Project Rio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © Project Rio.