org.netbeans.modules.extexecution/2 1.25.1

org.netbeans.api.extexecution.print
Interface LineConvertor


public interface LineConvertor

Converts the line to lines for output window. Convertor may change number of lines and add listener to line (invoked when the line is clicked).

See Also:
InputProcessors.printing(org.openide.windows.OutputWriter, org.netbeans.api.extexecution.print.LineConvertor, boolean), LineProcessors.printing(org.openide.windows.OutputWriter, org.netbeans.api.extexecution.print.LineConvertor, boolean)

Method Summary
 List<ConvertedLine> convert(String line)
          Converts the line to lines for output window.
 

Method Detail

convert

@CheckForNull
List<ConvertedLine> convert(@NonNull
                                         String line)
Converts the line to lines for output window. Method may return no line or any other number of lines for single input line. If the method returns null the line was not handled by the convertor.

Parameters:
line - input line to convert
Returns:
converted lines for output window or null if the convertor does not handle line at all
See Also:
ConvertedLine

org.netbeans.modules.extexecution/2 1.25.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.