com.beimin.eveapi.parser.shared.AbstractContactListParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eveapi Show documentation
Show all versions of eveapi Show documentation
Parsers for the eve online api
package com.beimin.eveapi.parser.shared;
import com.beimin.eveapi.exception.ApiException;
import com.beimin.eveapi.handler.AbstractContentHandler;
import com.beimin.eveapi.handler.shared.ContactListHandler;
import com.beimin.eveapi.parser.ApiAuth;
import com.beimin.eveapi.parser.ApiPage;
import com.beimin.eveapi.parser.ApiPath;
import com.beimin.eveapi.response.shared.AbstractContactListResponse;
public abstract class AbstractContactListParser extends AbstractApiParser {
protected AbstractContactListParser(Class responseClass, ApiPath path) {
super(responseClass, 2, path, ApiPage.CONTACT_LIST);
}
@Override
protected AbstractContentHandler getContentHandler() {
return new ContactListHandler(clazz);
}
@Override
public CLR getResponse(ApiAuth auth) throws ApiException {
return super.getResponse(auth);
}
}