org.onebusaway.api.impl
public class CustomCsvHandler extends Object implements org.apache.struts2.rest.handler.ContentTypeHandler
Constructor and Description |
---|
CustomCsvHandler() |
Modifier and Type | Method and Description |
---|---|
String |
fromObject(Object obj,
String resultCode,
Writer stream) |
String |
getContentType() |
String |
getExtension() |
void |
toObject(Reader in,
Object target) |
public void toObject(Reader in, Object target) throws IOException
toObject
in interface org.apache.struts2.rest.handler.ContentTypeHandler
IOException
public String fromObject(Object obj, String resultCode, Writer stream) throws IOException
fromObject
in interface org.apache.struts2.rest.handler.ContentTypeHandler
IOException
public String getContentType()
getContentType
in interface org.apache.struts2.rest.handler.ContentTypeHandler
public String getExtension()
getExtension
in interface org.apache.struts2.rest.handler.ContentTypeHandler
Copyright © 2014 OneBusAway. All Rights Reserved.