Tabnine Logo
TerminalServiceFactory
Code IndexAdd Tabnine to your IDE (free)

How to use
TerminalServiceFactory
in
ch.cyberduck.core

Best Java code snippets using ch.cyberduck.core.TerminalServiceFactory (Showing top 3 results out of 315)

origin: iterate-ch/cyberduck

  public static TerminalService get() {
    return new TerminalServiceFactory().create();
  }
}
origin: iterate-ch/cyberduck

@Action
public void openTerminalButtonClicked(final ID sender) {
  Path workdir = null;
  if(this.getSelectionCount() == 1) {
    Path selected = this.getSelectedPath();
    if(selected.isDirectory()) {
      workdir = selected;
    }
  }
  if(null == workdir) {
    workdir = this.workdir();
  }
  try {
    final TerminalService terminal = TerminalServiceFactory.get();
    terminal.open(pool.getHost(), workdir);
  }
  catch(AccessDeniedException e) {
    new PromptAlertCallback(this).alert(pool.getHost(), e, new StringBuilder());
  }
}
origin: iterate-ch/cyberduck

return this.isBrowser() && controller.isMounted()
  && controller.getSession().getHost().getProtocol().getType() == Protocol.Type.sftp
  && TerminalServiceFactory.get() != null;
ch.cyberduck.coreTerminalServiceFactory

Most used methods

  • <init>
  • create
  • get

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • startActivity (Activity)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Reference (javax.naming)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now