Package com.microstrategy.utils
Class StdOutErrToFile
- java.lang.Object
 - 
- com.microstrategy.utils.StdOutErrToFile
 
 
- 
- All Implemented Interfaces:
 StdOutErrToFileMXBean
public class StdOutErrToFile extends java.lang.Object implements StdOutErrToFileMXBean
JMX bean to redirect Java standard out and err streams to a file. 
- 
- 
Constructor Summary
Constructors Constructor Description StdOutErrToFile() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetEnabled()java.lang.StringgetFile()voidprintSystemProperties()voidsetEnabled(boolean enable)voidsetFile(java.io.File f)voidsetFile(java.lang.String path) 
 - 
 
- 
- 
Method Detail
- 
setEnabled
public void setEnabled(boolean enable) throws java.io.IOException- Specified by:
 setEnabledin interfaceStdOutErrToFileMXBean- Throws:
 java.io.IOException
 
- 
getEnabled
public boolean getEnabled()
- Specified by:
 getEnabledin interfaceStdOutErrToFileMXBean
 
- 
setFile
public void setFile(java.lang.String path) throws java.io.IOException- Specified by:
 setFilein interfaceStdOutErrToFileMXBean- Throws:
 java.io.IOException
 
- 
getFile
public java.lang.String getFile() throws java.io.IOException- Specified by:
 getFilein interfaceStdOutErrToFileMXBean- Throws:
 java.io.IOException
 
- 
printSystemProperties
public void printSystemProperties()
- Specified by:
 printSystemPropertiesin interfaceStdOutErrToFileMXBean
 
- 
setFile
public void setFile(java.io.File f) throws java.io.IOException- Throws:
 java.io.IOException
 
 - 
 
 -