public abstract class DiffApplicationBase extends ApplicationStarterBase
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOG |
protected static java.lang.String |
NULL_PATH |
ANY_MODALITY, EP_NAME, NON_MODAL, NOT_IN_EDT
Modifier | Constructor and Description |
---|---|
protected |
DiffApplicationBase(java.lang.String commandName,
int... possibleArgumentsCount) |
Modifier and Type | Method and Description |
---|---|
static VirtualFile |
findFile(java.lang.String path,
java.lang.String currentDirectory) |
static java.util.List<VirtualFile> |
findFiles(java.util.List<java.lang.String> filePaths,
java.lang.String currentDirectory) |
static java.io.File |
getFile(java.lang.String path,
java.lang.String currentDirectory) |
protected static Project |
guessProject(java.util.List<? extends VirtualFile> files) |
java.util.List<VirtualFile> |
replaceNullsWithEmptyFile(java.util.List<? extends VirtualFile> contents) |
canProcessExternalCommandLine, getCommandName, getUsageMessage, isHeadless, main, premain, processCommand, processExternalCommandLineAsync, saveAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowAnyModalityState, getRequiredModality, main, premain
protected static final java.lang.String NULL_PATH
protected static final Logger LOG
protected DiffApplicationBase(java.lang.String commandName, int... possibleArgumentsCount)
public static java.util.List<VirtualFile> findFiles(java.util.List<java.lang.String> filePaths, java.lang.String currentDirectory) throws java.lang.Exception
java.lang.Exception
public static VirtualFile findFile(java.lang.String path, java.lang.String currentDirectory)
public static java.io.File getFile(java.lang.String path, java.lang.String currentDirectory)
public java.util.List<VirtualFile> replaceNullsWithEmptyFile(java.util.List<? extends VirtualFile> contents)
protected static Project guessProject(java.util.List<? extends VirtualFile> files)