public class ZipDataSource extends Object implements javax.activation.DataSource
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() |
public ZipDataSource(File f) throws IOException
IOException
public ZipDataSource(String name, InputStream in) throws IOException
IOException
public String getContentType()
getContentType
in interface javax.activation.DataSource
public InputStream getInputStream() throws IOException
getInputStream
in interface javax.activation.DataSource
IOException
public String getName()
getName
in interface javax.activation.DataSource
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface javax.activation.DataSource
IOException
Copyright © 2004-2014. All Rights Reserved.