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

How to use
close
method
in
org.postgresql.core.VisibleBufferedInputStream

Best Java code snippets using org.postgresql.core.VisibleBufferedInputStream.close (Showing top 4 results out of 315)

origin: org.postgresql/postgresql

/**
 * Closes the connection.
 *
 * @throws IOException if an I/O Error occurs
 */
@Override
public void close() throws IOException {
 if (encodingWriter != null) {
  encodingWriter.close();
 }
 pg_output.close();
 pg_input.close();
 connection.close();
}
origin: postgresql/postgresql

  /**
   * Closes the connection
   *
   * @exception IOException if an I/O Error occurs
   */
  public void close() throws IOException
  {
    if (encodingWriter != null)
      encodingWriter.close();

    pg_output.close();
    pg_input.close();
    connection.close();
  }
}
origin: org.ancoron.postgresql/org.postgresql.osgi

  /**
   * Closes the connection
   *
   * @exception IOException if an I/O Error occurs
   */
  public void close() throws IOException
  {
    if (encodingWriter != null)
      encodingWriter.close();

    pg_output.close();
    pg_input.close();
    connection.close();
  }
}
origin: org.ancoron.postgresql/org.postgresql

  /**
   * Closes the connection
   *
   * @exception IOException if an I/O Error occurs
   */
  public void close() throws IOException
  {
    if (encodingWriter != null)
      encodingWriter.close();

    pg_output.close();
    pg_input.close();
    connection.close();
  }
}
org.postgresql.coreVisibleBufferedInputStreamclose

Popular methods of VisibleBufferedInputStream

  • <init>
    Creates a new buffer around the given stream.
  • available
  • compact
    Compacts the unread bytes of the buffer to the beginning of the buffer.
  • doubleBuffer
    Doubles the size of the buffer.
  • ensureBytes
    Ensures that the buffer contains at least n bytes. This method invalidates the buffer and index fiel
  • getBuffer
    Returns direct handle to the used buffer. Use the #ensureBytesto prefill required bytes the buffer a
  • getIndex
    Returns the current read position in the buffer.
  • moveBufferTo
    Moves bytes from the buffer to the begining of the destination buffer. Also sets the index and endIn
  • read
  • readMore
    Reads more bytes into the buffer.
  • scanCStringLength
    Scans the length of the next null terminated string (C-style string) from the stream.
  • skip
  • scanCStringLength,
  • skip,
  • peek

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • setContentView (Activity)
  • compareTo (BigDecimal)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • 21 Best IntelliJ Plugins
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