meteor.util
Class MyUtils
java.lang.Object
meteor.util.MyUtils
- public class MyUtils
- extends java.lang.Object
|
Method Summary |
static net.jxta.protocol.ModuleClassAdvertisement |
createModuleClassAdv(java.lang.String aclassID,
java.lang.String name,
java.lang.String description)
|
static net.jxta.protocol.ModuleImplAdvertisement |
createModuleImplAdv(net.jxta.protocol.ModuleImplAdvertisement groupImpl,
net.jxta.protocol.ModuleSpecAdvertisement moduleSpecAdv,
java.lang.String description,
java.lang.String code)
|
static net.jxta.protocol.ModuleSpecAdvertisement |
createModuleSpecAdv(java.lang.String aspecID,
java.lang.String name,
java.lang.String description)
|
static net.jxta.protocol.PipeAdvertisement |
createPipe(net.jxta.peergroup.PeerGroup peergroup,
java.lang.String pipeName)
|
static void |
printAdv(net.jxta.document.Advertisement adv)
Prints An Advertisement |
static void |
printDoc(net.jxta.document.StructuredTextDocument doc)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyUtils
public MyUtils()
createModuleClassAdv
public static net.jxta.protocol.ModuleClassAdvertisement createModuleClassAdv(java.lang.String aclassID,
java.lang.String name,
java.lang.String description)
throws java.net.UnknownServiceException,
java.net.MalformedURLException
- Throws:
java.net.UnknownServiceException
java.net.MalformedURLException
createModuleSpecAdv
public static net.jxta.protocol.ModuleSpecAdvertisement createModuleSpecAdv(java.lang.String aspecID,
java.lang.String name,
java.lang.String description)
throws java.net.UnknownServiceException,
java.net.MalformedURLException
- Throws:
java.net.UnknownServiceException
java.net.MalformedURLException
createModuleImplAdv
public static net.jxta.protocol.ModuleImplAdvertisement createModuleImplAdv(net.jxta.protocol.ModuleImplAdvertisement groupImpl,
net.jxta.protocol.ModuleSpecAdvertisement moduleSpecAdv,
java.lang.String description,
java.lang.String code)
throws java.net.UnknownServiceException,
java.net.MalformedURLException
- Throws:
java.net.UnknownServiceException
java.net.MalformedURLException
createPipe
public static net.jxta.protocol.PipeAdvertisement createPipe(net.jxta.peergroup.PeerGroup peergroup,
java.lang.String pipeName)
printAdv
public static void printAdv(net.jxta.document.Advertisement adv)
- Prints An Advertisement
- Parameters:
adv - the Advertisement to print
printDoc
public static void printDoc(net.jxta.document.StructuredTextDocument doc)