congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
FtpURLConnection.connect
Code IndexAdd Tabnine to your IDE (free)

How to use
connect
method
in
libcore.net.url.FtpURLConnection

Best Java code snippets using libcore.net.url.FtpURLConnection.connect (Showing top 14 results out of 315)

origin: robovm/robovm

/**
 * Creates a input stream for writing to this URL Connection.
 *
 * @return The input stream to write to
 * @throws IOException
 *             Cannot read from URL or error creating InputStream
 *
 * @see #getContent()
 * @see #getOutputStream()
 * @see java.io.InputStream
 * @see java.io.IOException
 *
 */
@Override
public InputStream getInputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return inputStream;
}
origin: robovm/robovm

/**
 * Creates a output stream for writing to this URL Connection.
 *
 * @return The output stream to write to
 * @throws IOException
 *             when the OutputStream could not be created
 *
 * @see #getContent()
 * @see #getInputStream()
 * @see java.io.IOException
 *
 */
@Override
public OutputStream getOutputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return dataSocket.getOutputStream();
}
origin: com.bugvm/bugvm-rt

/**
 * Creates a input stream for writing to this URL Connection.
 *
 * @return The input stream to write to
 * @throws IOException
 *             Cannot read from URL or error creating InputStream
 *
 * @see #getContent()
 * @see #getOutputStream()
 * @see java.io.InputStream
 * @see java.io.IOException
 *
 */
@Override
public InputStream getInputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return inputStream;
}
origin: com.gluonhq/robovm-rt

/**
 * Creates a input stream for writing to this URL Connection.
 *
 * @return The input stream to write to
 * @throws IOException
 *             Cannot read from URL or error creating InputStream
 *
 * @see #getContent()
 * @see #getOutputStream()
 * @see java.io.InputStream
 * @see java.io.IOException
 *
 */
@Override
public InputStream getInputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return inputStream;
}
origin: FlexoVM/flexovm

/**
 * Creates a input stream for writing to this URL Connection.
 *
 * @return The input stream to write to
 * @throws IOException
 *             Cannot read from URL or error creating InputStream
 *
 * @see #getContent()
 * @see #getOutputStream()
 * @see java.io.InputStream
 * @see java.io.IOException
 *
 */
@Override
public InputStream getInputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return inputStream;
}
origin: MobiVM/robovm

/**
 * Creates a input stream for writing to this URL Connection.
 *
 * @return The input stream to write to
 * @throws IOException
 *             Cannot read from URL or error creating InputStream
 *
 * @see #getContent()
 * @see #getOutputStream()
 * @see java.io.InputStream
 * @see java.io.IOException
 *
 */
@Override
public InputStream getInputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return inputStream;
}
origin: ibinti/bugvm

/**
 * Creates a input stream for writing to this URL Connection.
 *
 * @return The input stream to write to
 * @throws IOException
 *             Cannot read from URL or error creating InputStream
 *
 * @see #getContent()
 * @see #getOutputStream()
 * @see java.io.InputStream
 * @see java.io.IOException
 *
 */
@Override
public InputStream getInputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return inputStream;
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Creates a input stream for writing to this URL Connection.
 *
 * @return The input stream to write to
 * @throws IOException
 *             Cannot read from URL or error creating InputStream
 *
 * @see #getContent()
 * @see #getOutputStream()
 * @see java.io.InputStream
 * @see java.io.IOException
 *
 */
@Override
public InputStream getInputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return inputStream;
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Creates a output stream for writing to this URL Connection.
 *
 * @return The output stream to write to
 * @throws IOException
 *             when the OutputStream could not be created
 *
 * @see #getContent()
 * @see #getInputStream()
 * @see java.io.IOException
 *
 */
@Override
public OutputStream getOutputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return dataSocket.getOutputStream();
}
origin: MobiVM/robovm

/**
 * Creates a output stream for writing to this URL Connection.
 *
 * @return The output stream to write to
 * @throws IOException
 *             when the OutputStream could not be created
 *
 * @see #getContent()
 * @see #getInputStream()
 * @see java.io.IOException
 *
 */
@Override
public OutputStream getOutputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return dataSocket.getOutputStream();
}
origin: ibinti/bugvm

/**
 * Creates a output stream for writing to this URL Connection.
 *
 * @return The output stream to write to
 * @throws IOException
 *             when the OutputStream could not be created
 *
 * @see #getContent()
 * @see #getInputStream()
 * @see java.io.IOException
 *
 */
@Override
public OutputStream getOutputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return dataSocket.getOutputStream();
}
origin: com.bugvm/bugvm-rt

/**
 * Creates a output stream for writing to this URL Connection.
 *
 * @return The output stream to write to
 * @throws IOException
 *             when the OutputStream could not be created
 *
 * @see #getContent()
 * @see #getInputStream()
 * @see java.io.IOException
 *
 */
@Override
public OutputStream getOutputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return dataSocket.getOutputStream();
}
origin: com.gluonhq/robovm-rt

/**
 * Creates a output stream for writing to this URL Connection.
 *
 * @return The output stream to write to
 * @throws IOException
 *             when the OutputStream could not be created
 *
 * @see #getContent()
 * @see #getInputStream()
 * @see java.io.IOException
 *
 */
@Override
public OutputStream getOutputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return dataSocket.getOutputStream();
}
origin: FlexoVM/flexovm

/**
 * Creates a output stream for writing to this URL Connection.
 *
 * @return The output stream to write to
 * @throws IOException
 *             when the OutputStream could not be created
 *
 * @see #getContent()
 * @see #getInputStream()
 * @see java.io.IOException
 *
 */
@Override
public OutputStream getOutputStream() throws IOException {
  if (!connected) {
    connect();
  }
  return dataSocket.getOutputStream();
}
libcore.net.urlFtpURLConnectionconnect

Javadoc

Establishes the connection to the resource specified by this URL

Popular methods of FtpURLConnection

  • <init>
    FtpURLConnection constructor.
  • cd
    Change the server directory to that specified in the URL
  • connectInternal
  • getConnectTimeout
  • getDoInput
  • getFile
  • getReadTimeout
  • getReply
  • guessContentTypeFromName
  • login
  • port
  • readLine
    Read a line of text and return it for possible parsing
  • port,
  • readLine,
  • readMultiLine,
  • sendFile,
  • setType,
  • write

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • getSystemService (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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