|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.text.Format | +--org.openide.util.MapFormat | +--org.openide.compiler.ExternalCompilerGroup.Format
Default format that can format tags related to compilation. These include settings of classpath (can be composed from repository, class path, boot class path and libraries) and putting somewhere list of files to compile.
Field Summary | |
static String |
TAG_BOOTCLASSPATH
Tag replaced with ProcessExecutors.getBootClassPath () |
static String |
TAG_CLASSPATH
Tag replaced with ProcessExecutors.getClassPath () |
static String |
TAG_FILES
Tag replaced with arguments of the program |
static String |
TAG_JAVAHOME
Tag replaced with home directory of JDK |
static String |
TAG_JDKHOME
Tag replaced with root 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 | |
ExternalCompilerGroup.Format(String[] files)
All values for the paths takes from NbClassPath.createXXX methods. |
|
ExternalCompilerGroup.Format(String[] files,
NbClassPath classPath,
NbClassPath bootClassPath,
NbClassPath repository,
NbClassPath library)
|
Method Summary | |
static String |
asParameterString(String[] files)
Helper method to allows conversion of list of files to compile to one string that can be passed as parameter to external process. |
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 |
public static final String TAG_CLASSPATH
public static final String TAG_BOOTCLASSPATH
public static final String TAG_REPOSITORY
public static final String TAG_LIBRARY
public static final String TAG_FILES
public static final String TAG_JAVAHOME
public static final String TAG_JDKHOME
public static final String TAG_SEPARATOR
public static final String TAG_PATHSEPARATOR
Constructor Detail |
public ExternalCompilerGroup.Format(String[] files)
files
- files to compilepublic ExternalCompilerGroup.Format(String[] files, NbClassPath classPath, NbClassPath bootClassPath, NbClassPath repository, NbClassPath library)
files
- files to compileclassPath
- to substitute instead of CLASSPATHbootClassPath
- boot class pathrepository
- repository pathlibrary
- library pathMethod Detail |
public static String asParameterString(String[] files)
files
- array of files to compilenull
if it
cannot be created (for example, the temporary file cannot be created)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |