if (StringUtils.isNullOrEmpty(prefix))
{
throw new IllegalArgumentException("Expecing \"path\" attribute in " + handler.getCurrentPath());
} else
{
FilePageSource source = new FilePageSource(prefix);
String modCheck = attrs.getValue("modcheck");
if (modCheck != null && modCheck.equals("true"))
{
source.setModCheck(true);
}
return source;
}
}