Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.services.streaming
Class ZipEntrySource

java.lang.Object
  extended by org.nuxeo.runtime.services.streaming.AbstractStreamSource
      extended by org.nuxeo.runtime.services.streaming.ZipEntrySource
All Implemented Interfaces:
StreamSource

public class ZipEntrySource
extends AbstractStreamSource

Author:
Bogdan Stefanescu

Constructor Summary
ZipEntrySource(File file, String entry)
           
ZipEntrySource(String file, String entry)
           
 
Method Summary
 boolean canReopen()
           
 long getLength()
           
 InputStream getStream()
           
 
Methods inherited from class org.nuxeo.runtime.services.streaming.AbstractStreamSource
copyTo, copyTo, destroy, getBytes, getString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipEntrySource

public ZipEntrySource(String file,
                      String entry)

ZipEntrySource

public ZipEntrySource(File file,
                      String entry)
Method Detail

getStream

public InputStream getStream()
                      throws IOException
Throws:
IOException

canReopen

public boolean canReopen()
Specified by:
canReopen in interface StreamSource
Overrides:
canReopen in class AbstractStreamSource

getLength

public long getLength()
               throws IOException
Specified by:
getLength in interface StreamSource
Overrides:
getLength in class AbstractStreamSource
Throws:
IOException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.