public final class ConfigPropertyDefinitions extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<org.onosproject.cfg.ConfigProperty> |
read(InputStream stream)
Reads the specified input stream and creates from its contents a
set of property definitions.
|
static void |
write(OutputStream stream,
Set<org.onosproject.cfg.ConfigProperty> props)
Writes the specified set of property definitions into the given output
stream.
|
public static void write(OutputStream stream, Set<org.onosproject.cfg.ConfigProperty> props) throws IOException
stream - output streamprops - properties whose definitions are to be writtenIOException - if unable to write the streampublic static Set<org.onosproject.cfg.ConfigProperty> read(InputStream stream) throws IOException
stream - input streamIOException - if unable to read the stream