package robots;

public class DisallowedRule extends AbstractRule {

	
	public DisallowedRule(String path, boolean wildcardsAllowed) {
		super(path, wildcardsAllowed);
		
	}

	@Override
	public Boolean isAllowed(String path) {

		if("".equals(super.getPath())){
			
			return Boolean.TRUE;
		}
		if(!match(path)){
			
			return null;
			
		}
		else{
			return Boolean.FALSE;
		}
		
	}
	
}

@@ -12,16 +12,84 @@
 ots;%0D%0A%0D%0A
+/**%0D%0A* @author Giuseppe Giorgi %3Cgiuseppe.giorgi1987@gmail.com%3E%0D%0A*/%0D%0A
 public c

Update DisallowedRule.java