Class RDFLoader

java.lang.Object
com.semedy.reasoner.api.edb.Loader
com.semedy.reasoner.edb.loader.RDFLoader
All Implemented Interfaces:
Iterable<org.eclipse.rdf4j.model.Statement>, Collection<org.eclipse.rdf4j.model.Statement>

public class RDFLoader extends Loader implements Collection<org.eclipse.rdf4j.model.Statement>
Loader for RDF supporting different formats
Author:
angele
  • Constructor Details

    • RDFLoader

      public RDFLoader()
  • Method Details

    • clone

      public Object clone()
      Specified by:
      clone in class Loader
    • add

      public boolean add(org.eclipse.rdf4j.model.Statement e)
      Specified by:
      add in interface Collection<org.eclipse.rdf4j.model.Statement>
    • size

      public int size()
      Specified by:
      size in interface Collection<org.eclipse.rdf4j.model.Statement>
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface Collection<org.eclipse.rdf4j.model.Statement>
    • contains

      public boolean contains(Object o)
      Specified by:
      contains in interface Collection<org.eclipse.rdf4j.model.Statement>
    • iterator

      public Iterator<org.eclipse.rdf4j.model.Statement> iterator()
      Specified by:
      iterator in interface Collection<org.eclipse.rdf4j.model.Statement>
      Specified by:
      iterator in interface Iterable<org.eclipse.rdf4j.model.Statement>
    • toArray

      public Object[] toArray()
      Specified by:
      toArray in interface Collection<org.eclipse.rdf4j.model.Statement>
    • toArray

      public <T> T[] toArray(T[] a)
      Specified by:
      toArray in interface Collection<org.eclipse.rdf4j.model.Statement>
    • remove

      public boolean remove(Object o)
      Specified by:
      remove in interface Collection<org.eclipse.rdf4j.model.Statement>
    • containsAll

      public boolean containsAll(Collection<?> c)
      Specified by:
      containsAll in interface Collection<org.eclipse.rdf4j.model.Statement>
    • addAll

      public boolean addAll(Collection<? extends org.eclipse.rdf4j.model.Statement> c)
      Specified by:
      addAll in interface Collection<org.eclipse.rdf4j.model.Statement>
    • removeAll

      public boolean removeAll(Collection<?> c)
      Specified by:
      removeAll in interface Collection<org.eclipse.rdf4j.model.Statement>
    • retainAll

      public boolean retainAll(Collection<?> c)
      Specified by:
      retainAll in interface Collection<org.eclipse.rdf4j.model.Statement>
    • clear

      public void clear()
      Specified by:
      clear in interface Collection<org.eclipse.rdf4j.model.Statement>