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.config
Class ConfigHelper

    java.lang.Object
      org.jini.rio.config.ConfigHelper

    public class ConfigHelper

extends Object

Utility for accessing configuration arguments

Constructor Summary
`ConfigHelper()`

Method Summary
`static String[]` | `getConfigArgs(String[] args)`

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

Constructor Detail

### ConfigHelper

    public ConfigHelper()

Method Detail

### getConfigArgs

    public static String[] getConfigArgs(String[] args)
                                  throws IOException

  Parameters:
    `args` - Arguments to be used by a `ConfigurationProvider` to create a `Configuration`
  Returns:
    If the first parameter of the args parameters is a "-", or the name of a file, return the arg parameter intact. Otherwise, create a temporary file containing with the contents of the args value
  Throws:
    `IllegalArgumentException` - if the args parameter is null or of zero length
    `IOException` - if there are errors accessing the file system

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.