|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPermanentResultSet
This class rapresents a ResultSet that can be saved using Serializable interface
Field Summary | |
int |
cn
|
protected java.util.Vector |
columnNames
|
protected java.util.Vector |
doc
|
private java.lang.String |
fileName
|
private boolean |
isSaved
|
private OrderedData |
od
|
private java.io.ObjectInputStream |
ois
|
private java.io.ObjectOutputStream |
oos
|
private java.sql.ResultSet |
rs
|
int |
tn
|
Constructor Summary | |
(package private) |
PermanentResultSet(java.io.ObjectOutputStream oos,
java.util.Vector savedDoc,
java.util.Vector columnNames,
int cn,
int tn)
Constructor used for output streaming ,starting by a Vector that contains data |
(package private) |
PermanentResultSet(java.sql.ResultSet rs1,
java.io.ObjectOutputStream oos)
Constructor for output streaming ,starting by a ResultSet |
(package private) |
PermanentResultSet(java.lang.String fileName,
java.io.ObjectInputStream ois)
Constructor used only for initializing an outputstream |
Method Summary | |
void |
read()
Method used to read stored data |
private void |
readObject(java.io.ObjectInputStream in)
Serializable interface implementation |
void |
write()
Method used to write ResultSet |
private void |
writeObject(java.io.ObjectOutputStream out)
Serializable interface implementation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Vector doc
protected java.util.Vector columnNames
private OrderedData od
private java.sql.ResultSet rs
private java.io.ObjectOutputStream oos
private java.io.ObjectInputStream ois
private java.lang.String fileName
public int cn
public int tn
private boolean isSaved
Constructor Detail |
PermanentResultSet(java.sql.ResultSet rs1, java.io.ObjectOutputStream oos) throws java.io.IOException
PermanentResultSet(java.lang.String fileName, java.io.ObjectInputStream ois)
PermanentResultSet(java.io.ObjectOutputStream oos, java.util.Vector savedDoc, java.util.Vector columnNames, int cn, int tn)
Method Detail |
public void write()
public void read()
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |