org.onebusaway.api.impl
Class CustomCsvHandler
java.lang.Object
org.onebusaway.api.impl.CustomCsvHandler
- All Implemented Interfaces:
- org.apache.struts2.rest.handler.ContentTypeHandler
public class CustomCsvHandler
- extends Object
- implements org.apache.struts2.rest.handler.ContentTypeHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomCsvHandler
public CustomCsvHandler()
toObject
public void toObject(Reader in,
Object target)
throws IOException
- Specified by:
toObject
in interface org.apache.struts2.rest.handler.ContentTypeHandler
- Throws:
IOException
fromObject
public String fromObject(Object obj,
String resultCode,
Writer stream)
throws IOException
- Specified by:
fromObject
in interface org.apache.struts2.rest.handler.ContentTypeHandler
- Throws:
IOException
getContentType
public String getContentType()
- Specified by:
getContentType
in interface org.apache.struts2.rest.handler.ContentTypeHandler
getExtension
public String getExtension()
- Specified by:
getExtension
in interface org.apache.struts2.rest.handler.ContentTypeHandler
Copyright © 2012 OneBusAway. All Rights Reserved.