From d479253768d296a40b4f699e1de9b03c7146a97a Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 3 Dec 2013 14:03:28 -0800 Subject: Adding javadocs and Carbonado User Guide --- .../com/amazon/carbonado/spi/RAFOutputStream.html | 351 +++++++++++++++++++++ 1 file changed, 351 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/spi/RAFOutputStream.html (limited to 'apidocs/com/amazon/carbonado/spi/RAFOutputStream.html') diff --git a/apidocs/com/amazon/carbonado/spi/RAFOutputStream.html b/apidocs/com/amazon/carbonado/spi/RAFOutputStream.html new file mode 100644 index 0000000..a23245e --- /dev/null +++ b/apidocs/com/amazon/carbonado/spi/RAFOutputStream.html @@ -0,0 +1,351 @@ + + + + + + +RAFOutputStream (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.spi
+

Class RAFOutputStream

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
    +
    +
    +
    +
    public class RAFOutputStream
    +extends java.io.OutputStream
    +
    OutputStream that wraps a RandomAccessFile. A stream can be obtained for a + RandomAccessFile by getting the file descriptor and creating a + FileOutputStream on it. Problem is that FileOutputStream has a finalizer + that closes the RandomAccessFile.
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      RAFOutputStream(java.io.RandomAccessFile raf) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidclose() 
      voidwrite(byte[] b) 
      voidwrite(byte[] b, + int offset, + int length) 
      voidwrite(int b) 
      +
        +
      • + + +

        Methods inherited from class java.io.OutputStream

        +flush
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RAFOutputStream

        +
        public RAFOutputStream(java.io.RandomAccessFile raf)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        write

        +
        public void write(int b)
        +           throws java.io.IOException
        +
        +
        Specified by:
        +
        write in class java.io.OutputStream
        +
        Throws:
        +
        java.io.IOException
        +
      • +
      + + + +
        +
      • +

        write

        +
        public void write(byte[] b)
        +           throws java.io.IOException
        +
        +
        Overrides:
        +
        write in class java.io.OutputStream
        +
        Throws:
        +
        java.io.IOException
        +
      • +
      + + + +
        +
      • +

        write

        +
        public void write(byte[] b,
        +         int offset,
        +         int length)
        +           throws java.io.IOException
        +
        +
        Overrides:
        +
        write in class java.io.OutputStream
        +
        Throws:
        +
        java.io.IOException
        +
      • +
      + + + +
        +
      • +

        close

        +
        public void close()
        +           throws java.io.IOException
        +
        +
        Specified by:
        +
        close in interface java.io.Closeable
        +
        Specified by:
        +
        close in interface java.lang.AutoCloseable
        +
        Overrides:
        +
        close in class java.io.OutputStream
        +
        Throws:
        +
        java.io.IOException
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + -- cgit v1.2.3