@Test void testSerializeQuadDefaultGraph() { final Quad quad = rdf.createQuad(null, rdf.createIRI("trellis:data/resource"), DC.subject, rdf.createIRI("http: assertEquals("<trellis:data/resource> <http: FileUtils.serializeQuad(quad), "Triple isn't serialized properly!"); }
public static String serializeQuad(final Quad quad) { return quad.getSubject() + SEP + quad.getPredicate() + SEP + quad.getObject() + SEP + quad.getGraphName().map(g -> g + " .").orElse("."); }
FileUtils { public static String serializeQuad(final Quad quad) { return quad.getSubject() + SEP + quad.getPredicate() + SEP + quad.getObject() + SEP + quad.getGraphName().map(g -> g + " .").orElse("."); } }
FileUtils { public static String serializeQuad(final Quad quad) { return quad.getSubject() + SEP + quad.getPredicate() + SEP + quad.getObject() + SEP + quad.getGraphName().map(g -> g + " .").orElse("."); } private  FileUtils(); }
FileUtils { public static String serializeQuad(final Quad quad) { return quad.getSubject() + SEP + quad.getPredicate() + SEP + quad.getObject() + SEP + quad.getGraphName().map(g -> g + " .").orElse("."); } private  FileUtils(); static File getResourceDirectory(final File baseDirectory, final IRI identifier); static Stream<Quad> parseQuad(final String line); static boolean filterServerManagedQuads(final Quad quad); static boolean uncheckedDeleteIfExists(final Path path); static Stream<Path> uncheckedList(final Path path); static void writeMemento(final File resourceDir, final Resource resource,
            final Instant time); static InputStream getBoundedStream(final InputStream stream, final int from, final int to); static String serializeQuad(final Quad quad); static File getNquadsFile(final File dir, final Instant time); }
FileUtils { public static String serializeQuad(final Quad quad) { return quad.getSubject() + SEP + quad.getPredicate() + SEP + quad.getObject() + SEP + quad.getGraphName().map(g -> g + " .").orElse("."); } private  FileUtils(); static File getResourceDirectory(final File baseDirectory, final IRI identifier); static Stream<Quad> parseQuad(final String line); static boolean filterServerManagedQuads(final Quad quad); static boolean uncheckedDeleteIfExists(final Path path); static Stream<Path> uncheckedList(final Path path); static void writeMemento(final File resourceDir, final Resource resource,
            final Instant time); static InputStream getBoundedStream(final InputStream stream, final int from, final int to); static String serializeQuad(final Quad quad); static File getNquadsFile(final File dir, final Instant time); static final String CONFIG_FILE_LDP_TYPE; static final String CONFIG_FILE_DIGEST_ALGORITHM; static final int LENGTH; static final int MAX; }