fr.ifremer.wao.ui.data
Class KmlStreamResponse
java.lang.Object
fr.ifremer.wao.ui.data.KmlStreamResponse
- All Implemented Interfaces:
- org.apache.tapestry5.StreamResponse
public class KmlStreamResponse
- extends Object
- implements org.apache.tapestry5.StreamResponse
StreamResponse for Kml files.
Created: 6 juil. 2010
- Version:
- $Id: KmlStreamResponse.java 809 2010-11-26 16:00:26Z tchemit $
- Author:
- fdesbois
- See Also:
KmlLoaderStrategy,
KmlLoader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stream
protected InputStream stream
length
protected int length
KmlStreamResponse
public KmlStreamResponse(InputStream stream)
throws IOException
- Throws:
IOException
getContentType
public String getContentType()
- Specified by:
getContentType in interface org.apache.tapestry5.StreamResponse
getStream
public InputStream getStream()
throws IOException
- Specified by:
getStream in interface org.apache.tapestry5.StreamResponse
- Throws:
IOException
prepareResponse
public void prepareResponse(org.apache.tapestry5.services.Response response)
- Specified by:
prepareResponse in interface org.apache.tapestry5.StreamResponse
Copyright © 2009-2012 Ifremer. All Rights Reserved.