net.clackrouter.test
Class ErrorChecker

java.lang.Object
  extended by net.clackrouter.test.ErrorChecker

public class ErrorChecker
extends java.lang.Object

Example of a static router checker, which enforces certain things about the contents of a router.

Currently, this type of static check is not integrated into the Clack application in any way, but it serves as a demonstration of what could be done to statically check that a constructed router is correct.


Constructor Summary
ErrorChecker()
           
 
Method Summary
static java.lang.String checkRouter(Router router)
           
static java.lang.String getClassNameOnly(java.lang.Class packetClass)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorChecker

public ErrorChecker()
Method Detail

main

public static void main(java.lang.String[] args)

checkRouter

public static java.lang.String checkRouter(Router router)

getClassNameOnly

public static java.lang.String getClassNameOnly(java.lang.Class packetClass)