public class MaapiSchemasUtil extends Object
| Constructor and Description | 
|---|
MaapiSchemasUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
main(String[] args)
 Main method, downloads all schemas from the server using
 Maapi.loadSchemas, recurses through all schema trees and prints types and
 node info. 
 | 
static void | 
printChildren(int offset,
             MaapiSchemas.CSNode n)
Recursive printout of a schema tree from and including given node 
 | 
static void | 
printNodeFlags(int flags)  | 
static void | 
printNodeInfo(int offset,
             MaapiSchemas.CSNode n)
Node info printout for a given node 
 | 
public static void main(String[] args)
Main method, downloads all schemas from the server using Maapi.loadSchemas, recurses through all schema trees and prints types and node info.
Run as:
Wherejava com.tailf.maapi.MaapiSchemasUtil [hostname_or_ip, [port]]
hostname_or_ip is the name or ip of the server
 (default 127.0.0.1) and port is the server port
 (default 4565)args - String array optionally containing the hostname and the
             port of the serverpublic static void printChildren(int offset,
                                 MaapiSchemas.CSNode n)
offset - indentation offset for printout, 0 at start.n - start node for printoutpublic static void printNodeInfo(int offset,
                                 MaapiSchemas.CSNode n)
offset - indentation offset for printout, 0 at start.n - node to printoutpublic static void printNodeFlags(int flags)