KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > blob > BLOBContainer


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
// $Id: BLOBContainer.java,v 1.3 2002/12/29 11:15:55 per_nyfelt Exp $
8

9 package org.ozoneDB.blob;
10
11 import org.ozoneDB.OzoneRemote;
12
13
14 /**
15  * The BLOB implementation. It holds the data in several BLOB pages.
16  *
17  *
18  * @author <a HREF="http://www.softwarebuero.de/">SMB</a>
19  * @version $Revision: 1.3 $Date: 2002/12/29 11:15:55 $
20  */

21 public interface BLOBContainer extends OzoneRemote {
22     
23     
24     public void init( int _pageSize ); //update
25

26     
27     public void write( int index, byte[] b, int off, int len ) throws Exception JavaDoc; //update
28

29     
30     public byte[] read( int index, int len ) throws Exception JavaDoc;
31     
32     
33     public int available( int index ) throws Exception JavaDoc;
34 }
35
Popular Tags