public final class ParseInfoToLoginName extends Object implements AccurevLauncher.ICmdOutputParser<String,Void>
Constructor and Description |
---|
ParseInfoToLoginName() |
Modifier and Type | Method and Description |
---|---|
String |
parse(InputStream cmdOutput,
Void context)
Parses the command's output.
|
public String parse(InputStream cmdOutput, Void context) throws AccurevLauncher.UnhandledAccurevCommandOutput, IOException
AccurevLauncher.ICmdOutputParser
parse
in interface AccurevLauncher.ICmdOutputParser<String,Void>
cmdOutput
- The stream that contains the output of the command.context
- Context passed in when the command was run.AccurevLauncher.UnhandledAccurevCommandOutput
- if the command output was invalid.IOException
- on failing IOCopyright © 2016–2021. All rights reserved.