org.apache.jdo.impl.fostore
Class DBInfo
java.lang.Object
org.apache.jdo.impl.fostore.DBInfo
- All Implemented Interfaces:
- org.netbeans.mdr.persistence.Streamable
- public class DBInfo
- extends java.lang.Object
- implements org.netbeans.mdr.persistence.Streamable
This class represents the information about the contents of the store
itself which must be durable across JVMs.
This class is public
so that it can be used as a
Streamable
and stored in the database.
- Author:
- Dave Bristor
Method Summary |
void |
read(java.io.InputStream is)
|
java.lang.String |
toString()
Returns a human-readable description of this DBInfo. |
void |
write(java.io.OutputStream os)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DBInfo
public DBInfo()
toString
public java.lang.String toString()
- Returns a human-readable description of this DBInfo. If system
property "dbinfo.shortname" is true, then the description includes the
name of the database (e.g. 'foo'), otherwise it includes the complete
pathname of the database (e.g. '/bleem/foo').
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
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.