org.jomc.util.test.support
Class NullEditor

Package class diagram package NullEditor
java.lang.Object
  extended by org.jomc.util.LineEditor
      extended by org.jomc.util.test.support.NullEditor

public final class NullEditor
extends LineEditor

LineEditor removing all input.

Version:
$JOMC: NullEditor.java 3838 2011-10-08 20:15:41Z schulte2005 $
Author:
Christian Schulte
See Also:
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

NullEditor

public NullEditor()
Creates a new NullEditor instance.


NullEditor

public NullEditor(String lineSeparator)
Creates a new NullEditor instance taking a string to use for separating lines.

Parameters:
lineSeparator - String to use for separating lines.

NullEditor

public NullEditor(LineEditor editor)
Creates a new NullEditor instance taking an editor to chain.

Parameters:
editor - The editor to chain.

NullEditor

public NullEditor(LineEditor editor,
                  String lineSeparator)
Creates a new NullEditor instance taking an editor to chain and a string to use for separating lines.

Parameters:
editor - The editor to chain.
lineSeparator - String to use for separating lines.
Method Detail

editLine

protected String editLine(String line)

Overrides:
editLine in class LineEditor
Returns:
This method returns null.


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.