org.jboss.dna.graph.util
Class GraphImporter.UriImportedContent
java.lang.Object
org.jboss.dna.graph.util.GraphImporter.ImportedContentUsingSequencer
org.jboss.dna.graph.util.GraphImporter.UriImportedContent
- All Implemented Interfaces:
- GraphImporter.ImportSpecification
- Enclosing class:
- GraphImporter
@Immutable
protected class GraphImporter.UriImportedContent
- extends GraphImporter.ImportedContentUsingSequencer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphImporter.UriImportedContent
protected GraphImporter.UriImportedContent(StreamSequencer sequencer,
URI uri,
String mimeType)
getMimeType
public String getMimeType()
- Returns:
- mimeType
getUri
public URI getUri()
- Returns:
- uri
into
public void into(String sourceName,
Path pathInSource)
throws IOException,
RepositorySourceException
- Specify the location where the content is to be imported, and then perform the import.
- Parameters:
sourceName - the name of the source into which the content is to be importedpathInSource - the path in the repository source named sourceName where the
content is to be written; may not be null
- 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,
org.jboss.dna.graph.properties.Path)
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.