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.
|
BoostInfoTree |
read(String input,
String inputName)
Add the contents of the input string 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 BoostInfoTree read(String input, String inputName) throws IOException
input - The contents of the INFO file, with lines separated by "\n" or
"\r\n".inputName - Used for log messages, etc.IOExceptionpublic final void write(String fileName) throws IOException
fileName - The output path.IOExceptionpublic final BoostInfoTree getRoot()
Copyright © 2019. All rights reserved.