|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.util.LineEditor
org.jomc.util.test.support.NullEditor
public final class NullEditor
LineEditor
removing all input.
LineEditor.edit(java.lang.String)
Constructor Summary | |
---|---|
NullEditor()
Creates a new NullEditor instance. |
|
NullEditor(LineEditor editor)
Creates a new NullEditor instance taking an editor to chain. |
|
NullEditor(LineEditor editor,
String lineSeparator)
Creates a new NullEditor instance taking an editor to chain and a string to use for separating lines. |
|
NullEditor(String lineSeparator)
Creates a new NullEditor instance taking a string to use for separating lines. |
Method Summary | |
---|---|
protected String |
editLine(String line)
|
Methods inherited from class org.jomc.util.LineEditor |
---|
edit, getLineNumber, getLineSeparator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullEditor()
NullEditor
instance.
public NullEditor(String lineSeparator)
NullEditor
instance taking a string to use for separating lines.
lineSeparator
- String to use for separating lines.public NullEditor(LineEditor editor)
NullEditor
instance taking an editor to chain.
editor
- The editor to chain.public NullEditor(LineEditor editor, String lineSeparator)
NullEditor
instance taking an editor to chain and a string to use for separating lines.
editor
- The editor to chain.lineSeparator
- String to use for separating lines.Method Detail |
---|
protected String editLine(String line)
editLine
in class LineEditor
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |