hudson.plugins.tfs.util
Class KeyValueTextReader
java.lang.Object
hudson.plugins.tfs.util.KeyValueTextReader
public class KeyValueTextReader
- extends java.lang.Object
Class that parsers key/values from a reader.
This is used when reading text files that contains keys and value pairs where the
value can be in one or several rows. First used when doing some more intelligent parsing
of the output from the tfs history command.
- Author:
- redsolo
|
Method Summary |
java.util.Map<java.lang.String,java.lang.String> |
parse(java.io.BufferedReader reader)
|
java.util.Map<java.lang.String,java.lang.String> |
parse(java.lang.String string)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyValueTextReader
public KeyValueTextReader()
parse
public java.util.Map<java.lang.String,java.lang.String> parse(java.lang.String string)
throws java.io.IOException
- Throws:
java.io.IOException
parse
public java.util.Map<java.lang.String,java.lang.String> parse(java.io.BufferedReader reader)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.