public static Router getRouter(String name, LinkedList routerList)
    {
        if (name == null || routerList == null || name.length() == 0) {
            return null;
        }

        Router router = null;
        try
        {
            Iterator it = routerList.iterator();
            while ( it.hasNext() )
            {
                router = (Router) it.next();
                if (router.get_name().equals(name)) {
                    break;
                }
                else {
                    router = null;
                }
            }
        }
        catch (Exception e) {
            router = null;
        }

        return router;
    }