gov.nist.antd.mpls.mgmt.util
Class MPLSUtil

java.lang.Object
  |
  +--gov.nist.antd.mpls.mgmt.util.MPLSUtil

public class MPLSUtil
extends java.lang.Object

This class provides utilitie functions for the MPLS management.

 This class was developed at the National Institute of Standards and
 Technology by employees of the Federal Government and the Towson
 University by student in the course of their official duties.  Pursuant
 to title 17 Section 105 of the United  States Code this software is not
 subject to copyright protection and is in the public domain.
 NIST assumes no responsibility whatsoever for its use by other parties,
 and makes no guarantees, expressed or implied, about its quality,
 reliability, or any other characteristic.
 
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.

Author:
EunHyuk Lim
, borchert

Constructor Summary
MPLSUtil()
           
 
Method Summary
static boolean createDirectory(java.io.File dir)
           
static int getDefaultIPAddr(Net net, java.lang.String hostID)
           
static int getDefaultIPAddr(Net net, java.lang.String hostID, int interfaceID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MPLSUtil

public MPLSUtil()
Method Detail

getDefaultIPAddr

public static int getDefaultIPAddr(Net net,
                                   java.lang.String hostID)

getDefaultIPAddr

public static int getDefaultIPAddr(Net net,
                                   java.lang.String hostID,
                                   int interfaceID)

createDirectory

public static boolean createDirectory(java.io.File dir)