Package com.db4o.io
Class ReadOnlyBin
- java.lang.Object
-
- com.db4o.io.BinDecorator
-
- com.db4o.io.ReadOnlyBin
-
- All Implemented Interfaces:
Bin
public class ReadOnlyBin extends BinDecorator
-
-
Field Summary
-
Fields inherited from class com.db4o.io.BinDecorator
_bin
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyBin(Bin storage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(long position, byte[] bytes, int bytesToWrite)
writes a given number of bytes from an array of bytes at an offset position
-
-
-
Constructor Detail
-
ReadOnlyBin
public ReadOnlyBin(Bin storage)
-
-
Method Detail
-
write
public void write(long position, byte[] bytes, int bytesToWrite)
Description copied from interface:Bin
writes a given number of bytes from an array of bytes at an offset position- Specified by:
write
in interfaceBin
- Overrides:
write
in classBinDecorator
- Parameters:
position
- the offset position to write atbytes
- the array of bytes to writebytesToWrite
- the number of bytes to write- See Also:
Bin.write(long, byte[], int)
-
-