Class ValidationHelper


  • public final class ValidationHelper
    extends java.lang.Object
    TODO.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ValidationHelper.Package
      Package names.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean equalsFileName​(java.lang.String str, java.nio.file.Path file, java.lang.String extension)
      TODO.
      static java.util.function.Predicate<java.lang.String> equalsFileName​(java.nio.file.Path file, java.lang.String extension)
      TODO.
      static java.lang.String getNamespace​(java.nio.file.Path root, java.nio.file.Path schemaPath, org.radarbase.schema.Scope scope)
      TODO.
      static java.lang.String getRecordName​(java.nio.file.Path path)
      TODO.
      static boolean isValidTopic​(java.lang.String topicName)
      TODO.
      static boolean matchesExtension​(java.nio.file.Path file, java.lang.String extension)
      TODO.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getNamespace

        public static java.lang.String getNamespace​(java.nio.file.Path root,
                                                    java.nio.file.Path schemaPath,
                                                    org.radarbase.schema.Scope scope)
        TODO.
        Parameters:
        scope - TODO
        Returns:
        TODO
      • getRecordName

        public static java.lang.String getRecordName​(java.nio.file.Path path)
        TODO.
        Parameters:
        path - TODO
        Returns:
        TODO
      • isValidTopic

        public static boolean isValidTopic​(java.lang.String topicName)
        TODO.
        Parameters:
        topicName - TODO
        Returns:
        TODO
      • matchesExtension

        public static boolean matchesExtension​(java.nio.file.Path file,
                                               java.lang.String extension)
        TODO.
        Parameters:
        file - TODO.
        Returns:
        TODO.
      • equalsFileName

        public static boolean equalsFileName​(java.lang.String str,
                                             java.nio.file.Path file,
                                             java.lang.String extension)
        TODO.
        Parameters:
        file - TODO
        extension - TODO
        Returns:
        TODO
      • equalsFileName

        public static java.util.function.Predicate<java.lang.String> equalsFileName​(java.nio.file.Path file,
                                                                                    java.lang.String extension)
        TODO.
        Parameters:
        file - TODO
        extension - TODO
        Returns:
        TODO