Revision 1447 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/persistence/PersistenceManager.java
PersistenceManager.java | ||
---|---|---|
449 | 449 |
* data which has been serialized by the same implementation. |
450 | 450 |
* </p> |
451 | 451 |
* |
452 |
* @param reader
|
|
452 |
* @param in
|
|
453 | 453 |
* @return |
454 |
* @throws org.gvsig.tools.persistence.exception.PersistenceException |
|
454 | 455 |
*/ |
455 | 456 |
public PersistentState loadState(InputStream in) |
456 | 457 |
throws PersistenceException; |
... | ... | |
467 | 468 |
* data which has been serialized by the same implementation. |
468 | 469 |
* </p> |
469 | 470 |
* |
471 |
* @param state |
|
470 | 472 |
* @param out |
471 |
* @return |
|
472 | 473 |
* @throws PersistenceValidateExceptions |
473 | 474 |
*/ |
474 | 475 |
public void saveState(PersistentState state, OutputStream out) |
475 | 476 |
throws PersistenceException, PersistenceValidateExceptions; |
476 | 477 |
|
478 |
public void saveState(PersistentState state, OutputStream out, boolean collectErrors) |
|
479 |
throws PersistenceException, PersistenceValidateExceptions; |
|
480 |
|
|
477 | 481 |
/** |
478 | 482 |
* <p> |
479 | 483 |
* De-serializes an state from the data read from the provided |
Also available in: Unified diff