- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 13 Aug 2009 17:28:36 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn
In directory hutz:/tmp/cvs-serv14852/src/org/w3c/unicorn
Modified Files:
Tag: dev2
Framework.java
Log Message:
language negociation
Index: Framework.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/Attic/Framework.java,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- Framework.java 13 Aug 2009 13:42:42 -0000 1.1.2.4
+++ Framework.java 13 Aug 2009 17:28:34 -0000 1.1.2.5
@@ -11,6 +11,7 @@
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
+import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
@@ -229,6 +230,13 @@
FileInputStream fis = new FileInputStream(org.w3c.unicorn.util.Property
.get("TASKLIST_RDF_MODEL"));
RDFUnmarshallerJena.getModel().read(fis, null);
+
+ /*FileReader fr = new FileReader(org.w3c.unicorn.util.Property
+ .get("TASKLIST_RDF_MODEL"));
+
+
+
+ RDFUnmarshallerJena.getModel().read(fr, null);*/
// define resource use to find information into the RDF graph
RDFUnmarshallerJena.setRESOURCE_TASK(RDFUnmarshallerJena.getModel()
.getProperty(RDFUnmarshallerJena.getUcnNamespace() + "Task"));
@@ -499,6 +507,10 @@
public static Template getTemplate(String name) {
return velocityTemplates.get(name);
}
+
+ public static Hashtable<String, Properties> getLanguageProperties() {
+ return languageProperties;
+ }
}
Received on Thursday, 13 August 2009 17:28:45 UTC