org.nuxeo.runtime.services.streaming
Class ZipEntrySource
java.lang.Object
org.nuxeo.runtime.services.streaming.AbstractStreamSource
org.nuxeo.runtime.services.streaming.ZipEntrySource
- All Implemented Interfaces:
- StreamSource
public class ZipEntrySource
- extends AbstractStreamSource
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipEntrySource
public ZipEntrySource(java.lang.String file,
java.lang.String entry)
ZipEntrySource
public ZipEntrySource(java.io.File file,
java.lang.String entry)
getStream
public java.io.InputStream getStream()
throws java.io.IOException
- Throws:
java.io.IOException
canReopen
public boolean canReopen()
- Specified by:
canReopen
in interface StreamSource
- Overrides:
canReopen
in class AbstractStreamSource
getLength
public long getLength()
throws java.io.IOException
- Specified by:
getLength
in interface StreamSource
- Overrides:
getLength
in class AbstractStreamSource
- Throws:
java.io.IOException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.