tecgraf.openbus.interop.util
Class Utils
java.lang.Object
tecgraf.openbus.interop.util.Utils
public class Utils
- extends Object
Classe utilitária para os demos Java.
- Author:
- Tecgraf
|
Constructor Summary |
Utils()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
readPropertyFile
public static Properties readPropertyFile(String fileName)
throws IOException
- Lê um arquivo de propriedades.
- Parameters:
fileName - o nome do arquivo.
- Returns:
- as propriedades.
- Throws:
IOException
findProperty
public static String findProperty(tecgraf.openbus.core.v2_0.services.offer_registry.ServiceProperty[] props,
String key)
chain2str
public static String chain2str(tecgraf.openbus.core.v2_0.services.access_control.LoginInfo[] callers,
tecgraf.openbus.core.v2_0.services.access_control.LoginInfo caller)
getCodec
public static Codec getCodec(ORB orb)
throws UnknownEncoding,
InvalidName
- Throws:
UnknownEncoding
InvalidName
setLogLevel
public static void setLogLevel(Level level)
Copyright © 2014. All rights reserved.