Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.trustyuri;
 
A partial implementation of a trusty URI module.

Author(s):
Tobias Kuhn
 
public abstract class AbstractTrustyUriModule implements TrustyUriModule {
	private final String pattern;

Initializes this abstract class.
		 = ".*[^A-Za-z0-9\\-_]" + getModuleId() + "[A-Za-z0-9\\-_]{" + getDataPartLength() + "}";
	}
	public boolean matches(URI uri) {
		return uri.stringValue().matches();
	}
New to GrepCode? Check out our FAQ X