public final class DataSourceUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isMetadata(java.lang.String sourceUri)
Checks if the given source URI is metadata, eg matches the format "~METADATA~" or ".metadata", or has any parent
that matches either of those formats.
|
static boolean |
isNotMetadata(java.lang.String sourceUri)
Checks if the given source URI is not metadata, eg does not match either "~METADATA~" or ".metadata".
|
public static boolean isMetadata(java.lang.String sourceUri)
public static boolean isNotMetadata(java.lang.String sourceUri)
!isMetadata(sourceUri)
.isMetadata(String)