net.named_data.jndn.util
public class BoostInfoParser extends Object
| Constructor and Description |
|---|
BoostInfoParser() |
| Modifier and Type | Method and Description |
|---|---|
BoostInfoTree |
getRoot()
Get the root tree of this parser.
|
BoostInfoTree |
read(String fileName)
Add the contents of the file to the root BoostInfoTree.
|
void |
write(String fileName)
Write the root tree of this BoostInfoParser as file in Boost's INFO format.
|
public BoostInfoTree read(String fileName) throws IOException
fileName - The path to the INFO file.IOExceptionpublic final void write(String fileName) throws IOException
fileName - The output path.IOExceptionpublic final BoostInfoTree getRoot()
Copyright © 2015. All rights reserved.