|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.management.Utility
public final class Utility
general methods.
Method Summary | |
---|---|
static void |
clear(char[] characterArray)
Takes a character array and clear out all the characters. |
static java.util.Map<java.lang.String,java.lang.String> |
commandLineProperties(java.lang.String[] args)
Places the command line arguments into a map. |
static java.io.FileInputStream |
getFileInputStream(java.lang.String fileName)
Finds a file and returns an open input stream to it. |
static java.lang.String[] |
getProviders(java.lang.String engine,
java.lang.String service)
get an array of provider names for a given engine service. |
static java.lang.String[] |
getServices(java.lang.String engine)
Gets an array of services for a given service engine. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.io.FileInputStream getFileInputStream(java.lang.String fileName) throws java.io.FileNotFoundException
fileName
- name of the file to open
java.io.FileNotFoundException
- if the fileName was not foundpublic static void clear(char[] characterArray)
It is meant to clear passwords down.
characterArray
- containing the passwordpublic static java.util.Map<java.lang.String,java.lang.String> commandLineProperties(java.lang.String[] args)
args
- command line arguments
public static java.lang.String[] getServices(java.lang.String engine)
engine
- the engine (type of service)
public static java.lang.String[] getProviders(java.lang.String engine, java.lang.String service)
engine
- or type of serviceservice
- the particular service
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |