edu.bonn.cs.iv.bonnmotion.apps
Class NSFile

java.lang.Object
  extended by edu.bonn.cs.iv.bonnmotion.App
      extended by edu.bonn.cs.iv.bonnmotion.apps.NSFile

public class NSFile
extends App

Application that creates a movement file for ns-2.


Field Summary
static double border
          Add border around the scenario to prevent ns-2 from crashing.
protected  java.lang.String name
           
 
Constructor Summary
NSFile(java.lang.String[] args)
           
 
Method Summary
 void go(java.lang.String[] args)
          Main method from where all the magic starts ...
static void main(java.lang.String[] args)
           
protected  boolean parseArg(char key, java.lang.String val)
           
static void printHelp()
           
 
Methods inherited from class edu.bonn.cs.iv.bonnmotion.App
exceptionHandler, openPrintWriter, parse, parseArg, parseDoubleArray, parseIntArray, parseStringArray, stringArrayConcat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

border

public static final double border
Add border around the scenario to prevent ns-2 from crashing.

See Also:
Constant Field Values

name

protected java.lang.String name
Constructor Detail

NSFile

public NSFile(java.lang.String[] args)
Method Detail

go

public void go(java.lang.String[] args)
Description copied from class: App
Main method from where all the magic starts ...

Specified by:
go in class App

parseArg

protected boolean parseArg(char key,
                           java.lang.String val)
Overrides:
parseArg in class App

printHelp

public static void printHelp()

main

public static void main(java.lang.String[] args)
                 throws java.io.FileNotFoundException,
                        java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException