From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- .../java/com/sleepycat/bind/tuple/TupleOutput.html | 1834 +++++++++----------- 1 file changed, 863 insertions(+), 971 deletions(-) (limited to 'docs/java/com/sleepycat/bind/tuple/TupleOutput.html') diff --git a/docs/java/com/sleepycat/bind/tuple/TupleOutput.html b/docs/java/com/sleepycat/bind/tuple/TupleOutput.html index 3374ccc4..cfdf5a41 100644 --- a/docs/java/com/sleepycat/bind/tuple/TupleOutput.html +++ b/docs/java/com/sleepycat/bind/tuple/TupleOutput.html @@ -1,1007 +1,899 @@ - - - - - -TupleOutput (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.bind.tuple -
-Class TupleOutput

-
-java.lang.Object
-  extended by java.io.OutputStream
-      extended by com.sleepycat.util.FastOutputStream
-          extended by com.sleepycat.bind.tuple.TupleOutput
-
-
-
All Implemented Interfaces:
Closeable, Flushable
-
-
-
-
public class TupleOutput
extends FastOutputStream
- - -

-An OutputStream with DataOutput-like methods for +

+
com.sleepycat.bind.tuple
+

Class TupleOutput

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
    +
    +
    +
    +
    public class TupleOutput
    +extends FastOutputStream
    +
    An OutputStream with DataOutput-like methods for writing tuple fields. It is used by TupleBinding.

    This class has many methods that have the same signatures as methods in - the DataOutput interface. The reason this class does not - implement DataOutput is because it would break the interface - contract for those methods because of data format differences.

    -

    - -

    -

    -
    See Also:
    Tuple Formats
    -
    - -

    + the DataOutput interface. The reason this class does not + implement DataOutput is because it would break the interface + contract for those methods because of data format differences.

    +
    See Also:
    Tuple Formats
    +
  • +
+
+
+ +
+
+
    +
  • - - - - - - -
    -Constructor Detail
    - -

    -TupleOutput

    -
    -public TupleOutput()
    -
    -
    Creates a tuple output object for writing a byte array of tuple data. -

    -

    -
    - -

    -TupleOutput

    -
    -public TupleOutput(byte[] buffer)
    -
    -
    Creates a tuple output object for writing a byte array of tuple data, +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TupleOutput

        +
        public TupleOutput()
        +
        Creates a tuple output object for writing a byte array of tuple data.
        +
      • +
      + + + +
        +
      • +

        TupleOutput

        +
        public TupleOutput(byte[] buffer)
        +
        Creates a tuple output object for writing a byte array of tuple data, using a given buffer. A new buffer will be allocated only if the number of bytes needed is greater than the length of this buffer. A reference to the byte array will be kept by this object and therefore the byte - array should not be modified while this object is in use. -

        -

        -
        Parameters:
        buffer - is the byte array to use as the buffer.
        -
    - + array should not be modified while this object is in use.
+
Parameters:
buffer - is the byte array to use as the buffer.
+ + + + - - - - - - -
-Method Detail
- -

-writeBytes

-
-public final TupleOutput writeBytes(String val)
-
-
Writes the specified bytes to the buffer, converting each character to +
    +
  • + + +

    Method Detail

    + + + +
      +
    • +

      writeBytes

      +
      public final TupleOutput writeBytes(java.lang.String val)
      +
      Writes the specified bytes to the buffer, converting each character to an unsigned byte value. - Writes values that can be read using TupleInput.readBytes(int). -

      -

      -
      Parameters:
      val - is the string containing the values to be written. + Writes values that can be read using TupleInput.readBytes(int).
      +
      Parameters:
      val - is the string containing the values to be written. Only characters with values below 0x100 may be written using this - method, since the high-order 8 bits of all characters are discarded. -
      Returns:
      this tuple output object. -
      Throws: -
      NullPointerException - if the val parameter is null.
      See Also:
      Integer Formats
      -
-
-
- -

-writeChars

-
-public final TupleOutput writeChars(String val)
-
-
Writes the specified characters to the buffer, converting each character + method, since the high-order 8 bits of all characters are discarded.
+
Returns:
this tuple output object.
+
Throws:
+
java.lang.NullPointerException - if the val parameter is null.
See Also:
Integer Formats
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. - - +

Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.

+ + -- cgit v1.2.1