Class StatementUtils


  • public class StatementUtils
    extends Object
    Author:
    poirigui
    • Constructor Detail

      • StatementUtils

        public StatementUtils()
    • Method Detail

      • hasSubject

        public static boolean hasSubject​(Statement statement,
                                         Characteristic subject)
        Test if the given statement has the given subject.
      • formatStatement

        public static String formatStatement​(Statement statement)
        Format a statement.
      • formatStatement

        public static String formatStatement​(Statement statement,
                                             String[] ignoredPredicateUris)
        Format a statement.
        Parameters:
        statement - statement to format.
        ignoredPredicateUris - list of predicate URIs that shouldn't be included in the formatted statement