org.apache.jdo.impl.fostore
Class Block
java.lang.Object
org.apache.jdo.impl.fostore.Block
- All Implemented Interfaces:
- org.netbeans.mdr.persistence.Streamable
public class Block
- extends java.lang.Object
- implements org.netbeans.mdr.persistence.Streamable
Represents an object stored in the database as a semi-opaque value. While
it has no methods which allow interesting access to itself, the store has
metadata which describes its contents.
This class is public
so that it can be used as a
Streamable
and stored in the database.
- Author:
- Dave Bristor
Constructor Summary |
Block()
|
Method Summary |
void |
dump()
|
void |
read(java.io.InputStream is)
|
void |
write(java.io.OutputStream os)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Block
public Block()
write
public void write(java.io.OutputStream os)
throws org.netbeans.mdr.persistence.StorageException
- Specified by:
write
in interface org.netbeans.mdr.persistence.Streamable
- Throws:
org.netbeans.mdr.persistence.StorageException
read
public void read(java.io.InputStream is)
throws org.netbeans.mdr.persistence.StorageException
- Specified by:
read
in interface org.netbeans.mdr.persistence.Streamable
- Throws:
org.netbeans.mdr.persistence.StorageException
dump
public void dump()
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.