if ((theName.toUpperCase().contains(execName) && !theWindow.contains("N/A")) || theWindow.contains(name)) { return new App.AppEntry(theName, thePID, theWindow, "", ""); return new App.AppEntry(theName, thePID, theWindow, "", ""); return new App.AppEntry(name, "", "", "", options); String thePID = parts[3]; if (theWindow.contains("N/A")) continue; app = new App.AppEntry(theName, thePID, theWindow, "", ""); break;
app = new App.AppEntry(sName.trim(), sPid.trim(), title.trim(), "", "");
public AppEntry makeAppEntry() { String name = appName; String window = appWindow; if (name.isEmpty() && appOptions.isEmpty()) { name = appNameGiven; } if (isImmediate && !window.startsWith("!")) { window = "!" + window; } if (notFound) { name = "!" + name; } String pid = getPID().toString(); AppEntry appEntry = new AppEntry(name, pid, window, appNameGiven, appOptions); return appEntry; } //</editor-fold>
@Override public App.AppEntry getApp(int appPID, String appName) { return new App.AppEntry(appName, "" + appPID, "", "", ""); }