FreeHEP API
Version current

hep.aida.ref
Class AidaUtils

java.lang.Object
  extended byhep.aida.ref.AidaUtils

public abstract class AidaUtils
extends Object

Version:
$Id: AidaUtils.java,v 1.15 2005/11/01 02:08:31 serbo Exp $
Author:
turri
Source Code:
AidaUtils.java

Constructor Summary
AidaUtils()
           
 
Method Summary
static int findInArray(String string, String[] array)
           
static void main(String[] args)
           
static String modifyName(String name)
           
static String parseDirName(String pathString)
           
static String parseName(String pathString)
           
static Map parseOptions(String options)
          Parse AIDA options.
static String[] parseString(String options)
           
static String[] stringToArray(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AidaUtils

public AidaUtils()
Method Detail

parseOptions

public static Map parseOptions(String options)
Parse AIDA options. Accepts values of the form:
 a=b;c=d
 a="Some Options",c="My , Funny Value"
 testCase     (equivalent to testCase=true)
 

Parameters:
options - The options string to be parsed
Returns:
A map containing all the found options
Throws:
IllegalArgumentException - if the options string is invalid

parseString

public static String[] parseString(String options)

stringToArray

public static String[] stringToArray(String path)

modifyName

public static String modifyName(String name)

parseName

public static String parseName(String pathString)

parseDirName

public static String parseDirName(String pathString)

findInArray

public static int findInArray(String string,
                              String[] array)

main

public static void main(String[] args)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.