org.crsh.jcr
Class Importer
java.lang.Object
org.crsh.jcr.Importer
- All Implemented Interfaces:
- FileSystem
public class Importer
- extends Object
- implements FileSystem
- Version:
- $Revision$
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.slf4j.Logger log
- .
handler
private final ContentHandler handler
- .
stack
private final LinkedList<Importer.EndElement> stack
- .
prefixes
private final List<String> prefixes
- .
attributesHandler
private final org.xml.sax.helpers.DefaultHandler attributesHandler
- .
Importer
public Importer(ContentHandler handler)
startDirectory
public void startDirectory(String directoryName)
throws IOException
- Specified by:
startDirectory
in interface FileSystem
- Throws:
IOException
file
public void file(String fileName,
int length,
InputStream data)
throws IOException
- Specified by:
file
in interface FileSystem
- Throws:
IOException
endDirectory
public void endDirectory(String directoryName)
throws IOException
- Specified by:
endDirectory
in interface FileSystem
- Throws:
IOException
Copyright © 2012 eXo Platform SAS. All Rights Reserved.