public class ZipDataSource extends Object implements SizedDataSource
Constructor and Description |
---|
ZipDataSource(File f) |
ZipDataSource(String name,
InputStream in) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
long |
getSize() |
public ZipDataSource(File f) throws IOException
IOException
public ZipDataSource(String name, InputStream in) throws IOException
IOException
public String getContentType()
getContentType
in interface DataSource
public InputStream getInputStream() throws IOException
getInputStream
in interface DataSource
IOException
public String getName()
getName
in interface DataSource
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface DataSource
IOException
public long getSize()
getSize
in interface SizedDataSource
Copyright © 2016–2020. All rights reserved.