couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KyleMarchant <>
Subject Import a Java Library into CouchDB JavaScript Validation Function
Date Wed, 19 Dec 2012 21:58:45 GMT
I would like to use a java library within a validation function for accessing
an external properties file. Something like the following:


var file = new File(sPropertyFile);
var fis = new FileInputStream(file);

var prop = new Properties();
var field = prop.getProperty("FIELD1");

Can anyone tell me if CouchDB allows the importing of Java Library
(Packages) and if so can you provide me instructions or an example of how to
go about doing this?

Much appreciated.

View this message in context:
Sent from the CouchDB Development mailing list archive at

View raw message