public class OutputUILordWrapper extends Object implements OutputUILordVersion1
| Constructor and Description |
|---|
OutputUILordWrapper(OutputUILord outputUILord) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFileExtension(String extension,
String lineNumberDelimiter)
Call this to add file extensions to look for in the output.
|
void |
addOutputObserver(OutputObserverVersion1 observer) |
void |
addPrefixedFileLink(String name,
String prefix,
String extension,
String lineNumberDelimiter)
Creates a file link definition to find file paths in the output that have a known prefix and extension.
|
List<String> |
getFileExtensions() |
Font |
getOutputTextFont() |
void |
reExecuteLastCommand() |
void |
removeOutputObserver(OutputObserverVersion1 observer) |
void |
setOutputTextFont(Font font) |
public OutputUILordWrapper(OutputUILord outputUILord)
public void setOutputTextFont(Font font)
setOutputTextFont in interface OutputUILordVersion1public Font getOutputTextFont()
getOutputTextFont in interface OutputUILordVersion1public void addFileExtension(String extension, String lineNumberDelimiter)
OutputUILordVersion1addFileExtension in interface OutputUILordVersion1extension - the file extensionlineNumberDelimiter - optional delimiter text for line number. Whatever is after this will be assumed to be a line number. We'll only parse the numbers after this so there can be other
stuff after the line number. Pass in null to ignore.public void addPrefixedFileLink(String name, String prefix, String extension, String lineNumberDelimiter)
OutputUILordVersion1addPrefixedFileLink in interface OutputUILordVersion1name - the name of this file link definition. Used by tests mostly.prefix - the text that is before the file path. It should be enough to make it fairly uniqueextension - the expected file extension. If we don't find this extension, we do not consider the text a file's path. If there are multiple extensions, you'll have to add multiples of
these.lineNumberDelimiter - optional delimiter text for line number. Whatever is after this will be assumed to be a line number. We'll only parse the numbers after this so there can be other
stuff after the line number. Pass in null to ignore.public List<String> getFileExtensions()
getFileExtensions in interface OutputUILordVersion1public void addOutputObserver(OutputObserverVersion1 observer)
addOutputObserver in interface OutputUILordVersion1public void removeOutputObserver(OutputObserverVersion1 observer)
removeOutputObserver in interface OutputUILordVersion1public void reExecuteLastCommand()
reExecuteLastCommand in interface OutputUILordVersion1Copyright © 2013. All rights reserved