|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.entry.UIDescriptorFactory
public class UIDescriptorFactory
A helper utility that creates a UIDescriptor as part of the ServiceUI project.
| Constructor Summary | |
|---|---|
UIDescriptorFactory()
|
|
| Method Summary | |
|---|---|
static UIDescriptor |
getJComponentDesc(String codebase,
String[] jars,
String className)
Get a UIDescriptor for a JComponent |
static UIDescriptor |
getJComponentDesc(String codebase,
String[] jars,
String className,
String algorithm)
Get a UIDescriptor for a JComponent using HTTPMD support |
static UIDescriptor |
getJComponentDesc(String codebase,
String jarName,
String className)
Get a UIDescriptor for a JComponent |
static UIDescriptor |
getJComponentDesc(String codebase,
String jarName,
String className,
String algorithm)
Get a UIDescriptor for a JComponent using HTTPMD support |
static UIDescriptor |
getJFrameDesc(String codebase,
String[] jars,
String className)
Get a UIDescriptor for a JFrame |
static UIDescriptor |
getJFrameDesc(String codebase,
String[] jars,
String className,
String algorithm)
Get a UIDescriptor for a JFrame using HTTPMD support |
static UIDescriptor |
getJFrameDesc(String codebase,
String jarName,
String className)
Get a UIDescriptor for a JFrame |
static UIDescriptor |
getJFrameDesc(String codebase,
String jarName,
String className,
String algorithm)
Get a UIDescriptor for a JFrame using HTTPMD support |
static UIDescriptor |
getUIDescriptor(String role,
net.jini.lookup.ui.factory.JComponentFactory factory)
Get a UIDescriptor for a JComponentFactory |
static UIDescriptor |
getUIDescriptor(String role,
net.jini.lookup.ui.factory.JDialogFactory factory)
Get a UIDescriptor for a JDialogFactory |
static UIDescriptor |
getUIDescriptor(String role,
net.jini.lookup.ui.factory.JFrameFactory factory)
Get a UIDescriptor for a JFrameFactory |
static UIDescriptor |
getUIDescriptor(String role,
net.jini.lookup.ui.factory.JWindowFactory factory)
|
static UIDescriptor |
getUIDescriptor(String role,
String typeName,
String codebase,
String[] jars,
String className,
boolean computeHttpmd,
String algorithm)
Get a UIDescriptor |
static UIDescriptor |
getUIDescriptor(String role,
String typeName,
String codebase,
String jarName,
String className)
Get a UIDescriptor |
static UIDescriptor |
getUIDescriptor(String role,
String typeName,
String codebase,
String jarName,
String className,
boolean computeHttpmd,
String algorithm)
Get a UIDescriptor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIDescriptorFactory()
| Method Detail |
|---|
public static UIDescriptor getJComponentDesc(String codebase,
String jarName,
String className)
throws IOException
codebase - The codebasejarName - The jar nameclassName - The classname
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getJComponentDesc(String codebase,
String[] jars,
String className)
throws IOException
codebase - The codebasejars - The jars to useclassName - The classname
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getJComponentDesc(String codebase,
String jarName,
String className,
String algorithm)
throws IOException,
NoSuchAlgorithmException
codebase - The codebasejarName - The jar nameclassName - The classnamealgorithm - The algorithm to use
NoSuchAlgorithmException - If the algorithm to use is not found
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getJComponentDesc(String codebase,
String[] jars,
String className,
String algorithm)
throws IOException,
NoSuchAlgorithmException
codebase - The codebasejars - The jars to useclassName - The classnamealgorithm - The algorithm to use
NoSuchAlgorithmException - If the algorithm to use is not found
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getJFrameDesc(String codebase,
String jarName,
String className)
throws IOException
codebase - The codebasejarName - The jar nameclassName - The classname
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getJFrameDesc(String codebase,
String[] jars,
String className)
throws IOException
codebase - The codebasejars - The jars to useclassName - The classname
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getJFrameDesc(String codebase,
String jarName,
String className,
String algorithm)
throws IOException,
NoSuchAlgorithmException
codebase - The codebasejarName - The jar nameclassName - The classnamealgorithm - The algorithm to use
NoSuchAlgorithmException - If the algorithm to use is not found
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getJFrameDesc(String codebase,
String[] jars,
String className,
String algorithm)
throws IOException,
NoSuchAlgorithmException
codebase - The codebasejars - The jars to useclassName - The classnamealgorithm - The algorithm to use
NoSuchAlgorithmException - If the algorithm to use is not found
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getUIDescriptor(String role,
String typeName,
String codebase,
String jarName,
String className)
throws IOException
role - The roletypeName - The typecodebase - The codebasejarName - The jar nameclassName - The classname
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getUIDescriptor(String role,
String typeName,
String codebase,
String jarName,
String className,
boolean computeHttpmd,
String algorithm)
throws NoSuchAlgorithmException,
IOException
role - The roletypeName - The typecodebase - The codebasejarName - The jar nameclassName - The classnamecomputeHttpmd - Whether to compute message digestalgorithm - The algorithm to use
NoSuchAlgorithmException - If the algorithm to use is not found
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getUIDescriptor(String role,
String typeName,
String codebase,
String[] jars,
String className,
boolean computeHttpmd,
String algorithm)
throws NoSuchAlgorithmException,
IOException
role - The roletypeName - The typecodebase - The codebasejars - The jars to useclassName - The classnamecomputeHttpmd - Whether to compute message digestalgorithm - The algorithm to use
NoSuchAlgorithmException - If the algorithm to use is not found
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getUIDescriptor(String role,
net.jini.lookup.ui.factory.JComponentFactory factory)
throws IOException
role - The rolefactory - A JComponentFactory
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getUIDescriptor(String role,
net.jini.lookup.ui.factory.JDialogFactory factory)
throws IOException
role - The rolefactory - A JDialogFactory
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getUIDescriptor(String role,
net.jini.lookup.ui.factory.JFrameFactory factory)
throws IOException
role - The rolefactory - A JFrameFactory
IOException - if the MarshalledObject cannot be created
public static UIDescriptor getUIDescriptor(String role,
net.jini.lookup.ui.factory.JWindowFactory factory)
throws IOException
IOException
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||