jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katia Santos" <katiasan...@gmail.com>
Subject get a String [] property
Date Tue, 11 Mar 2008 11:38:36 GMT
Hello,

This may be a stupid question, but i have set a property in one node, a
String [] property like this

String[] array = {"bla","ble"};
node.setProperty("myProperty",array);


...but there is no method to get a String[] property...or is there?
I was expecting to find something like this:

String [] strings = node.getProperty("myProperty").getStrings() ... like
there is for every other property that i can insert in a node...


Katia Santos

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message