Method, computer program product, and system for making standard stream data accessible that would otherwise be lost in application programs
AssigneeInternational Business Machines Corporation
InventorsKyle J. Charlet, Greg S. Kim
Life of this patent
Estimating the term…
Abstract
A method, computer program product, and system for making standard stream data accessible that would otherwise be lost in applications programs. Information placed on a standard stream, such as System.err or System.out in the Java development environment, can be lost during normal operation of the program (e.g., when not started from a system console or within an Integrated Development Environment (IDE)). A new stream is created and the standard stream is redirected to the new stream. Once data placed on the standard stream is available on the new stream it can be manipulated as desired and made available through a console or by placing the information into a file.
Claims41
A method for capturing textual output information from a standard stream of a Java application program written using the Java language and making the textual output information that would otherwise be lost accessible to a user of the Java application program, the method comprising:
- redirecting the contents of System.err in a Java application program;
- capturing the error messages from System.err;
- and
- making available the captured error messages that would otherwise be lost to a user on a console provided with the Java application program.
A method for capturing textual output information from a standard stream of an application program that would otherwise be lost and making the captured textural output information accessible to a user of the application program, the method comprising:
- attaching to a standard stream of an application program that carries textual output information;
- listening for textual output information from the attachment to the standard stream;
- capturing the textual output information;
- and
- making available the captured textual output information that would otherwise be lost to a user.
A method for capturing textual output information from a standard stream of an application program that would otherwise be lost and making the information accessible to a user of the application program, the method comprising:
- attaching to a standard stream of an application program that carries textual output information, the attaching including:
- redirecting the standard stream;
- listening for textual output information from the attachment to the standard stream;
- capturing the textual output information;
- and
- making available the captured textual output information that would otherwise be lost to a user.
An article of manufacture including computer readable instructions executable by a computer, the instructions embodying logic for performing a textural capture method comprising:
- attaching to a standard stream of an application program that carries textual output information;
- listening for textual output information from the attachment to the standard stream;
- capturing the textual output information;
- and
- making available the captured textual output information that would otherwise be lost to a user.
A computer program product comprising:
- a computer usable medium;
- computer readable instructions embodied on said computer useable medium for capturing textual output information from a standard stream of an application program and making the textual output information that would otherwise be lost accessible to a user of the application program, the instructions directing a computer to perform the steps of:
- attaching to a standard stream of an application program that carries textual output information;
- listening for textual output information from the attachment to the standard stream;
- capturing the textual output information;
- and
- making available the captured textual output information that would otherwise be lost to a user.
A computer program product comprising:
- a computer usable medium;
- computer readable instructions embodied on said computer useable medium for capturing textual output information from a standard stream of an application program and making the textual output information that would otherwise be lost accessible to a user of the application program, the instructions directing a computer to perform the steps of:
- attaching to a standard stream of an application program that carries textual output information, the attaching including redirecting the standard stream;
- listening for textual output information from the attachment to the standard stream;
- capturing the textual output information;
- and
- making available the captured textual output information that would otherwise be lost to a user.
A system for capturing textual output information from a standard stream of an application program and making the textual output information that would otherwise be lost accessible to a user of the application program, the system comprising:
- means for attaching to a standard stream of an application program that carries textual output information;
- means for listening for textual output information from the attachment to the standard stream;
- means for capturing the textual output information;
- and
- means for making available the captured textual output information that would otherwise be lost to a user.
A system for capturing textual output information from a standard stream of an application program and making the textual output information that would otherwise be lost accessible to a user of the application program, the system comprising:
- means for attaching to a standard stream of an application program that carries textual output information, the means including redirecting the standard stream;
- means for listening for textual output information from the attachment to the standard stream;
- means for capturing the textual output information;
- and
- means for making available the captured textual output information that would otherwise be lost to a user.
Dependencies are inferred from the claim text.