mk.fsgrep.util
Class ExternalEditor
java.lang.Object
mk.fsgrep.util.ExternalEditor
public abstract class ExternalEditor
- extends java.lang.Object
A utility for launching an external editor on a match file.
- Author:
- Murali Krishnan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_instance
protected static ExternalEditor _instance
UNDEFINED
protected static ExternalEditor UNDEFINED
PERSISTENT_MAP_KEY
public static final java.lang.String PERSISTENT_MAP_KEY
- See Also:
- Constant Field Values
RE_FILE_NAME
public static final java.util.regex.Pattern RE_FILE_NAME
RE_LINE_NUM
public static final java.util.regex.Pattern RE_LINE_NUM
P_BACKSLASH
public static final java.util.regex.Pattern P_BACKSLASH
P_DOLLAR
public static final java.util.regex.Pattern P_DOLLAR
getInstance
public static ExternalEditor getInstance()
reset
public static void reset()
lookupDefinition
protected static java.lang.String lookupDefinition()
createCmdArray
protected static java.lang.String[] createCmdArray(java.lang.String cmd)
getSpec
protected java.lang.String getSpec()
createCommand
protected java.lang.String createCommand(java.lang.String filename,
java.lang.String linenum)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
launch
public void launch(java.lang.String filename,
java.lang.String linenum,
OutputDestination pStatus,
OutputDestination pError)
isDefined
public boolean isDefined()
Copyright © 2009. All Rights Reserved.