- introduction:
- Java bindings for GNOME Tracker Project's libtracker-sparql.
- javadocs:
- requirements:
- libtracker-sparql-1.0
- content (com.turnguard.libtracker.sparql.Libtracker):
- Native library instance
- JNA Utilities
- Tracker Exception
- Tracker ValueTypes enum
- Tracker Structures
- Tracker library
- Tracker library wrapper methods
- sample usage:
public static void main(String[] args){ TrackerSparqlConnection con = null; TrackerSparqlCursor cursor = null; int countColumns = 0; try { con = Libtracker.getTrackerSparqlConnection(); cursor = con.query("SELECTWHERE { <urn:sample:resource> ?p ?o . }"); countColumns = cursor.getColumnsCount(); while(cursor.next()){ for(int i = 0; i < countColumns; i++){ System.out.print(cursor.getString(i) + " "); } System.out.println(); } } catch(TrackerException e){ } finally { if(cursor!=null){ try {cursor.close();} catch(Exception ee){} } } }
Java bindings for GNOME Tracker libtracker-sparql
License
turnguard/com-turnguard-libtracker-sparql
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Java bindings for GNOME Tracker libtracker-sparql
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published