org.exoplatform.social.extras.migration.io
Class NodeStreamHandler
java.lang.Object
org.exoplatform.social.extras.migration.io.NodeStreamHandler
public class NodeStreamHandler
- extends Object
Stream handler.
- Version:
- $Revision$
- Author:
- Alain Defrance
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeStreamHandler
public NodeStreamHandler()
writeNode
public void writeNode(javax.jcr.Node node,
OutputStream os)
throws javax.jcr.RepositoryException,
IOException
- Write a node to a stream
- Parameters:
node - the nodeos - the stream
- Throws:
javax.jcr.RepositoryException
IOException
readNode
public NodeData readNode(InputStream is)
- Read data from a stream
- Parameters:
is - the stream
- Returns:
Copyright © 2013 eXo Platform SAS. All Rights Reserved.