org.jboss.dna.graph.util
Class GraphImporter.ImportedContentUsingSequencer

java.lang.Object
  extended by org.jboss.dna.graph.util.GraphImporter.ImportedContentUsingSequencer
All Implemented Interfaces:
GraphImporter.ImportSpecification
Direct Known Subclasses:
GraphImporter.UriImportedContent
Enclosing class:
GraphImporter

@Immutable
protected abstract class GraphImporter.ImportedContentUsingSequencer
extends Object
implements GraphImporter.ImportSpecification


Constructor Summary
protected GraphImporter.ImportedContentUsingSequencer(StreamSequencer sequencer)
           
 
Method Summary
protected  NodeConflictBehavior getConflictBehavior()
           
protected  StreamSequencer getSequencer()
           
 void into(String sourceName)
          Specify the location where the content is to be imported, and then perform the import.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.dna.graph.util.GraphImporter.ImportSpecification
into
 

Constructor Detail

GraphImporter.ImportedContentUsingSequencer

protected GraphImporter.ImportedContentUsingSequencer(StreamSequencer sequencer)
Method Detail

getSequencer

protected StreamSequencer getSequencer()

getConflictBehavior

protected NodeConflictBehavior getConflictBehavior()

into

public void into(String sourceName)
          throws IOException,
                 RepositorySourceException
Specify the location where the content is to be imported, and then perform the import. This is equivalent to calling into(sourceName,rootPath).

Specified by:
into in interface GraphImporter.ImportSpecification
Parameters:
sourceName - the name of the source into which the content is to be imported
Throws:
IOException - if there is a problem reading the content
RepositorySourceException - if there is a problem while writing the content to the repository source
See Also:
GraphImporter.ImportSpecification.into(java.lang.String)


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.