RSE
Release 3.0

org.eclipse.rse.subsystems.shells.core.subsystems
Interface IRemoteOutput

All Superinterfaces:
IRemoteLineReference
All Known Subinterfaces:
IRemoteError
All Known Implementing Classes:
RemoteError, RemoteOutput

public interface IRemoteOutput
extends IRemoteLineReference

This interface represents a handle to a line of remote command output.


Method Summary
 int getIndex()
          Gets the index of this output within a command
 String getText()
          Gets the text to display for a line of output.
 String getType()
          Gets the type of a line of output.
 
Methods inherited from interface org.eclipse.rse.core.subsystems.IRemoteLineReference
getAbsolutePath, getCharEnd, getCharStart, getLine, getParent
 

Method Detail

getType

String getType()
Gets the type of a line of output. By default remote output is "stdout", but it could be one of a number of things (i.e. "error", "warning", "file", "directory", "grep", etc.)

Returns:
the output type

getText

String getText()
Gets the text to display for a line of output.

Returns:
the output text

getIndex

int getIndex()
Gets the index of this output within a command

Returns:
the index within the command

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.