/*
- * Sone - SoneTextParserContext.java - Copyright © 2011 David Roden
+ * Sone - SoneTextParserContext.java - Copyright © 2011–2015 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
package net.pterodactylus.sone.text;
import net.pterodactylus.sone.data.Sone;
-import net.pterodactylus.sone.web.page.Page.Request;
+import net.pterodactylus.sone.web.page.FreenetRequest;
/**
* {@link ParserContext} implementation for the {@link SoneTextParser}. It
public class SoneTextParserContext implements ParserContext {
/** The request being processed. */
- private final Request request;
+ private final FreenetRequest request;
/** The posting Sone. */
private final Sone postingSone;
* @param postingSone
* The posting Sone
*/
- public SoneTextParserContext(Request request, Sone postingSone) {
+ public SoneTextParserContext(FreenetRequest request, Sone postingSone) {
this.request = request;
this.postingSone = postingSone;
}
*
* @return The request being processed
*/
- public Request getRequest() {
+ public FreenetRequest getRequest() {
return request;
}