Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix · OSX ] Distribution Issues

    All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.jconfig.win.AppCommandMSVM

    java.lang.Object
       |
       +----com.jconfig.win.AppCommandMSVM

Summary

    class  AppCommandMSVM
         extends java.lang.Object
         implements com.jconfig.AppCommand
    {
              // Fields 5
         private static final String copyrightString;
         private int maxNumArgs;
         private Class[] permissibleClasses;
         private Vector theArgs;
         private RegCommandMSVM[] vat;

              // Constructors 1
         AppCommandMSVM(RegCommandMSVM[]);

              // Methods 17
         public void addArg(Object);
         public String asString();
         public void clearArgs();
         String convertArgToString(Object);
         public void dumpInfo(PrintStream, String);
         private int figureOutMaxNumArgs(RegCommandMSVM);
         private String fileTypesAsString();
         public Object getArg(int);
         public String getCommand();
         String getExtensionOfArguments();
         public int getMaxNumArgs();
         public int getNumArgs();
         public Class[] getPermissibleArgumentType(int);
         public RegCommandMSVM getRegCommand(String);
         public boolean isNumArgsUnlimited();
         public boolean isSingleInstanceCapable();
         public AppCommand redup();
    }

Represents a command which can be sent to a Windows application.

Author:
  Copyright (c) 1997-2002 Samizdat Productions. All Rights Reserved.

Fields

### · copyrightString | Summary | Top

       private static final String copyrightString

### · vat | Summary | Top

       private RegCommandMSVM[] vat

> The RegCommandMSVM from which this object was created. For instance:

>         { .txt, Txt_File, open, "C:\\windows\\notepad.exe %1" }

### · theArgs | Summary | Top

       private Vector theArgs

> The arguments which have been added to this object.

### · permissibleClasses | Summary | Top

       private Class[] permissibleClasses

### · maxNumArgs | Summary | Top

       private int maxNumArgs

Constructors

### · AppCommandMSVM | Summary | Top

       AppCommandMSVM(RegCommandMSVM[] v)

> Create from an array of RegCommandMSVM objects.

Methods

### · getCommand | Summary | Top

       public String getCommand()

> Implements:
>   getCommand in interface AppCommand

### · asString | Summary | Top

       public String asString()

> Implements:
>   asString in interface AppCommand

### · redup | Summary | Top

       public AppCommand redup()

> Implements:
>   redup in interface AppCommand

### · getMaxNumArgs | Summary | Top

       public int getMaxNumArgs()

> Implements:
>   getMaxNumArgs in interface AppCommand

### · addArg | Summary | Top

       public void addArg(Object arg)

> Implements:
>   addArg in interface AppCommand

### · getExtensionOfArguments | Summary | Top

       String getExtensionOfArguments()

### · convertArgToString | Summary | Top

       String convertArgToString(Object arg)

### · getNumArgs | Summary | Top

       public int getNumArgs()

> Implements:
>   getNumArgs in interface AppCommand

### · clearArgs | Summary | Top

       public void clearArgs()

> Implements:
>   clearArgs in interface AppCommand

### · getPermissibleArgumentType | Summary | Top

       public Class[] getPermissibleArgumentType(int position)

> Implements:
>   getPermissibleArgumentType in interface AppCommand

### · getArg | Summary | Top

       public Object getArg(int which)

> Implements:
>   getArg in interface AppCommand

### · isNumArgsUnlimited | Summary | Top

       public boolean isNumArgsUnlimited()

> Implements:
>   isNumArgsUnlimited in interface AppCommand

### · isSingleInstanceCapable | Summary | Top

       public boolean isSingleInstanceCapable()

> Implements:
>   isSingleInstanceCapable in interface AppCommand

### · getRegCommand | Summary | Top

       public RegCommandMSVM getRegCommand(String ext)

### · figureOutMaxNumArgs | Summary | Top

       private int figureOutMaxNumArgs(RegCommandMSVM cmd)

### · fileTypesAsString | Summary | Top

       private String fileTypesAsString()

### · dumpInfo | Summary | Top

       public void dumpInfo(PrintStream ps,
                            String indent)

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7