|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mitre.cvw
Class WindowsDocServerUtils

java.lang.Objectorg.mitre.cvw.NPDocServerUtils
org.mitre.cvw.WindowsDocServerUtils
- public class WindowsDocServerUtils
- extends NPDocServerUtils
native code utilities for Windows platforms This class extends the NPDocServerUtils class and provides the interfaces for starting programs on a Windows machine. Will access native functions.
- Version:
- 1
| Constructor Summary | |
WindowsDocServerUtils()
|
|
| Method Summary | |
java.lang.String |
formatText(java.lang.String text)
Replaces |
java.lang.String |
getEnv(java.lang.String varname)
Gets the value of an environmental variable. |
java.lang.String |
getLaunchProgram(java.lang.String suffix,
boolean readonly)
Gets a companion program for a particular file. |
private java.lang.String |
getNativeEnv(java.lang.String varname)
get an environmental variable. |
private java.lang.String |
getNativeLaunchPartner(java.lang.String suffix)
Finds the program information in the registry |
java.lang.String |
getUserBaseDir()
Finds the base directory to place user checkout dirs |
boolean |
setLock(java.lang.String path,
int status)
Sets the read/write permissions on a file |
private boolean |
setNativeLock(java.lang.String path,
int status)
Sets the read/write permissions on a file. |
| Methods inherited from class org.mitre.cvw.NPDocServerUtils |
getFileTypeNames, getInstance, getMimeType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
WindowsDocServerUtils
public WindowsDocServerUtils()
| Method Detail |
getNativeLaunchPartner
private java.lang.String getNativeLaunchPartner(java.lang.String suffix)
- Finds the program information in the registry
setNativeLock
private boolean setNativeLock(java.lang.String path, int status)
- Sets the read/write permissions on a file.
getNativeEnv
private java.lang.String getNativeEnv(java.lang.String varname)
- get an environmental variable.
getLaunchProgram
public java.lang.String getLaunchProgram(java.lang.String suffix, boolean readonly)
- Gets a companion program for a particular file.
- Specified by:
getLaunchProgramin classNPDocServerUtils
getUserBaseDir
public java.lang.String getUserBaseDir()
- Finds the base directory to place user checkout dirs
- Specified by:
getUserBaseDirin classNPDocServerUtils
setLock
public boolean setLock(java.lang.String path, int status)
- Sets the read/write permissions on a file
- Specified by:
setLockin classNPDocServerUtils
getEnv
public java.lang.String getEnv(java.lang.String varname)
- Gets the value of an environmental variable.
- Specified by:
getEnvin classNPDocServerUtils
formatText
public java.lang.String formatText(java.lang.String text)
- Replaces
with for windows platforms - Overrides:
formatTextin classNPDocServerUtils
|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC