org.crsh.jcr
Class Importer

java.lang.Object
  extended by org.crsh.jcr.Importer
All Implemented Interfaces:
FileSystem

public class Importer
extends Object
implements FileSystem

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
Importer(ContentHandler handler)
           
 
Method Summary
 void endDirectory(String directoryName)
           
 void file(String fileName, int length, InputStream data)
           
 void startDirectory(String directoryName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Importer

public Importer(ContentHandler handler)
Method Detail

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 © 2011 eXo Platform SAS. All Rights Reserved.