org.openide.execution
Class ProcessExecutor.Format

java.lang.Object
  |
  +--java.text.Format
        |
        +--org.openide.util.MapFormat
              |
              +--org.openide.execution.ProcessExecutor.Format
All Implemented Interfaces:
Cloneable, Serializable
Enclosing class:
ProcessExecutor

public static class ProcessExecutor.Format
extends MapFormat

Default format that can format tags related to execution. These include settings of classpath (can be composed from repository, class path, boot class path and libraries), putting somewhere the name of executed class and its arguments.

See Also:
Serialized Form

Field Summary
static String TAG_ARGUMENTS
          Tag replaced with arguments of the program
static String TAG_BOOTCLASSPATH
          Tag replaced with ProcessExecutors.getBootClassPath ()
static String TAG_CLASSNAME
          Tag replaced with name of executed class
static String TAG_CLASSPATH
          Tag replaced with ProcessExecutors.getClassPath ()
static String TAG_JAVAHOME
          Tag replaced with install directory of JDK
static String TAG_JDKHOME
          Tag replaced with install directory of JDK
static String TAG_LIBRARY
          Tag replaced with ProcessExecutors.getLibraryPath ()
static String TAG_PATHSEPARATOR
          Tag replaced with separator between path components
static String TAG_REPOSITORY
          Tag replaced with ProcessExecutors.getRepositoryPath ()
static String TAG_SEPARATOR
          Tag replaced with separator between filename components
 
Constructor Summary
ProcessExecutor.Format(ExecInfo info)
          All values for the paths takes from NbClassPath.createXXX methods.
ProcessExecutor.Format(ExecInfo info, NbClassPath classPath, NbClassPath bootClassPath, NbClassPath repository, NbClassPath library)
           
 
Methods inherited from class org.openide.util.MapFormat
format, format, getLeftBrace, getMap, getRightBrace, isExactMatch, parse, parseObject, processKey, processPattern, setExactMatch, setLeftBrace, setMap, setRightBrace, setThrowExceptionIfKeyWasNotFound, willThrowExceptionIfKeyWasNotFound
 
Methods inherited from class java.text.Format
clone, format, parseObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_CLASSPATH

public static final String TAG_CLASSPATH
Tag replaced with ProcessExecutors.getClassPath ()

TAG_BOOTCLASSPATH

public static final String TAG_BOOTCLASSPATH
Tag replaced with ProcessExecutors.getBootClassPath ()

TAG_REPOSITORY

public static final String TAG_REPOSITORY
Tag replaced with ProcessExecutors.getRepositoryPath ()

TAG_LIBRARY

public static final String TAG_LIBRARY
Tag replaced with ProcessExecutors.getLibraryPath ()

TAG_CLASSNAME

public static final String TAG_CLASSNAME
Tag replaced with name of executed class

TAG_ARGUMENTS

public static final String TAG_ARGUMENTS
Tag replaced with arguments of the program

TAG_JAVAHOME

public static final String TAG_JAVAHOME
Tag replaced with install directory of JDK

TAG_JDKHOME

public static final String TAG_JDKHOME
Tag replaced with install directory of JDK

TAG_SEPARATOR

public static final String TAG_SEPARATOR
Tag replaced with separator between filename components

TAG_PATHSEPARATOR

public static final String TAG_PATHSEPARATOR
Tag replaced with separator between path components
Constructor Detail

ProcessExecutor.Format

public ProcessExecutor.Format(ExecInfo info)
All values for the paths takes from NbClassPath.createXXX methods.
Parameters:
info - exec info about class to execute

ProcessExecutor.Format

public ProcessExecutor.Format(ExecInfo info,
                              NbClassPath classPath,
                              NbClassPath bootClassPath,
                              NbClassPath repository,
                              NbClassPath library)
Parameters:
info - exec info about class to execute
classPath - to substitute instead of CLASSPATH
bootClassPath - boot class path
repository - repository path
library - library path


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.