public class ConsoleDocument extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ConsoleDocument.ConsoleLine |
Modifier and Type | Field and Description |
---|---|
static int |
COMMAND |
static int |
DELIMITER |
static int |
ERROR |
static int |
MESSAGE |
static int |
STATUS |
Constructor and Description |
---|
ConsoleDocument()
Creates an empty console document.
|
Modifier and Type | Method and Description |
---|---|
void |
appendConsoleLine(int type,
String line)
Appends a line of the specified type to the end of the console.
|
void |
clear()
Clears the console document.
|
ConsoleDocument.ConsoleLine[] |
getLines() |
boolean |
isEmpty() |
public static final int COMMAND
public static final int MESSAGE
public static final int ERROR
public static final int STATUS
public static final int DELIMITER
public void clear()
public void appendConsoleLine(int type, String line)
public ConsoleDocument.ConsoleLine[] getLines()
public boolean isEmpty()
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.