public static class SpdxLicenseList.Attachments.ContentSanitizer extends Object
| Constructor and Description |
|---|
ContentSanitizer(String id,
Pattern urlPattern,
Pattern contentPattern,
String contentReplacement) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(String url) |
static SpdxLicenseList.Attachments.ContentSanitizer |
compile(String id,
String urlPattern,
String contentPattern,
String contentReplacement) |
Pattern |
getContentPattern() |
String |
getContentReplacement() |
String |
getId() |
Pattern |
getUrlPattern() |
String |
sanitize(String content) |
public static SpdxLicenseList.Attachments.ContentSanitizer compile(String id, String urlPattern, String contentPattern, String contentReplacement)
public boolean applies(String url)
public String getId()
public Pattern getUrlPattern()
public Pattern getContentPattern()
public String getContentReplacement()
Copyright © 2010–2019 MojoHaus. All rights reserved.