public class IOServices
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
checkSetup()
Checks the setup of I/O services.
|
static java.lang.String |
convertOctal(java.lang.String value)
Converts octal escape sequences in the string to Java
characters.
|
static java.lang.String |
getFilePath(java.lang.Class resourceClass,
java.lang.String resourceName)
Gets a file path for a resource name.
|
static void |
printXML(org.w3c.dom.Node root)
Prints a node and its children in XML syntax.
|
public static java.lang.String getFilePath(java.lang.Class resourceClass, java.lang.String resourceName) throws java.io.IOException
resourceClass
- the class requesting the resource.resourceName
- the resource name.java.io.IOException
- if the resource cannot be resolved to a
pathname, or the file is not readable.public static java.lang.String convertOctal(java.lang.String value)
public static void printXML(org.w3c.dom.Node root)
root
- the root of the node tree to print.public static java.lang.String checkSetup()