01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail.nativerdf.lubm;
07:
08: import java.io.File;
09:
10: import org.openrdf.sail.Sail;
11: import org.openrdf.sail.lubm.LUBMRepository;
12: import org.openrdf.sail.nativerdf.NativeStore;
13:
14: /**
15: *
16: */
17: public class NativeRepository extends LUBMRepository {
18:
19: // implements LUBMRepository.createSail(...)
20: @Override
21: public Sail createSail(String database) {
22: File dataDir = new File(database);
23: return new NativeStore(dataDir, "spoc,posc");
24: }
25:
26: }
|