Rewrite extractBodyContent method.

This commit is contained in:
Christian P. MOMON 2013-07-30 10:43:29 +02:00
parent 29bf8c03a2
commit ba24c761fc

View file

@ -11,7 +11,7 @@ import fr.devinsy.xidyn.data.TagDataManager;
*/
public abstract class Presenter<E>
{
public static final Pattern BODY_PATTERN = Pattern.compile("^.*<[bB][oO][dD][yY]>\\s*(.*\\S)\\s*</[bB][oO][dD][yY]>.*$");
private static final Pattern BODY_PATTERN = Pattern.compile("^.*<[bB][oO][dD][yY]>\\s*(.*\\S)\\s*</[bB][oO][dD][yY]>.*$");
/**
*
@ -39,7 +39,7 @@ public abstract class Presenter<E>
*
* @return
*/
public abstract boolean isOutdated();
public abstract boolean isOutdated() throws Exception;
/**
* Good estimation of the target length able to optimize performance.