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
ZipEntrySource
public ZipEntrySource(String file,
String entry)
ZipEntrySource
public ZipEntrySource(File file,
String entry)
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.