public class Importer extends Object implements FileSystem
| Modifier and Type | Class and Description |
|---|---|
private static class |
Importer.EndElement |
| Modifier and Type | Field and Description |
|---|---|
private DefaultHandler |
attributesHandler
.
|
private ContentHandler |
handler
.
|
private static Logger |
log
.
|
private List<String> |
prefixes
.
|
private LinkedList<Importer.EndElement> |
stack
.
|
| Constructor and Description |
|---|
Importer(ContentHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginDirectory(String directoryName) |
void |
endDirectory(String directoryName) |
void |
file(String fileName,
int length,
InputStream data) |
private final ContentHandler handler
private final LinkedList<Importer.EndElement> stack
private final DefaultHandler attributesHandler
public Importer(ContentHandler handler)
public void beginDirectory(String directoryName) throws IOException
beginDirectory in interface FileSystemIOExceptionpublic void file(String fileName, int length, InputStream data) throws IOException
file in interface FileSystemIOExceptionpublic void endDirectory(String directoryName) throws IOException
endDirectory in interface FileSystemIOExceptionCopyright © 2013 eXo Platform SAS. All Rights Reserved.