Package com.microstrategy.utils
Class DebugUtils
- java.lang.Object
-
- com.microstrategy.utils.DebugUtils
-
public class DebugUtils extends java.lang.Object
- Since:
- MicroStrategy Web 8.0.0
-
-
Constructor Summary
Constructors Constructor Description DebugUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
mkDir(java.lang.String dirName)
static java.lang.String
readFile(java.lang.String fileName)
static void
saveXml(java.lang.String xml, java.lang.String fileName)
static void
saveXml(java.lang.String xml, java.lang.String dir, java.lang.String fileName)
static void
setRootDir(java.lang.String path)
-
-
-
Method Detail
-
setRootDir
public static void setRootDir(java.lang.String path) throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
-
readFile
public static java.lang.String readFile(java.lang.String fileName) throws java.io.IOException
- Throws:
java.io.IOException
-
mkDir
public static void mkDir(java.lang.String dirName) throws java.lang.Exception
- Throws:
java.lang.Exception
-
saveXml
public static void saveXml(java.lang.String xml, java.lang.String dir, java.lang.String fileName) throws java.lang.Exception
- Throws:
java.lang.Exception
-
saveXml
public static void saveXml(java.lang.String xml, java.lang.String fileName) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-