|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgps.toolbox.PostProcess
public class PostProcess
post processes trace file after simulation, it can do grep and calculates average downloading time
| Constructor Summary | |
|---|---|
PostProcess()
dummy constructor |
|
| Method Summary | |
|---|---|
static void |
avg(java.lang.String in)
calculate average downloading time |
static void |
grep(java.lang.String in,
java.lang.String key,
java.lang.String out)
grep lines with a specific keyword from a file |
static void |
main(java.lang.String[] args)
main entrance |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostProcess()
| Method Detail |
|---|
public static void grep(java.lang.String in,
java.lang.String key,
java.lang.String out)
in - input filekey - keywordout - output filepublic static void avg(java.lang.String in)
in - input trace filepublic static void main(java.lang.String[] args)
args - command line parameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||