Displaying 2 results from an estimated 2 matches for "pdfreader".
2009 May 25
2
Looping through java hashmap from ruby through rjb
...#
//obtain an Iterator for Collection
#
Iterator itr = c.iterator();
#
#
//iterate through HashMap values iterator
#
while(itr.hasNext())
System.out.println(itr.next());
So, I took a stab at the ruby version:
# I have a java hashmap called fields that was created using iText
thusly
reader = pdfreader.new( "pdf_file.pdf" )
@form = reader.getAcroFields()
fields = @form.getFields() # this is a hashmap of all fields on form
fields._classname # entere in irc displays: java.util.HashMap
# So, following the java code above
c = fields.values()
itr = c.iterator()
while itr.hasNext()
p itr...
2013 Jul 20
7
Failure to Launch (was override -q option)
Attached is the very verbose ssh output. Just to be perverse, this time two
nodes lost connectivity. The only thing I see is lines saying that the two
connections are lost, although being honest I have no idea what everything
else means. For reference, 8 ssh cinnections were being made at the same
time for a 8x8mpi task.
N.B., since the OS I am using does not have rsh, I am currently using the