Skip to content

Tag: java

How to get SignatureLines excel apache poi

Good morning, I created an excel with signature lines. I’m trying to obtain signature lines in a excel document with apache poi library. XSSFWorkbook w = new XSSFWorkbook(mp.getInputStream()); w.get……? Any suggestion? Thanks in advance, Pablo I see there is a class called XSSFSignatureLine b…

incompatible types boolean can not be converted to char [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 4 m…

Decrease the number of calls

I have arraylist of filenames (java) and I want to delete these files using rm but it is time consuming can I do batching using xargs or something else which can help to delete files faster. Answer Don’t use rm. Use Java. As others have pointed out, spawning a process is much slower than doing it in your prog…

Dynamic return type based on input argument type

I’m trying to write a small function that takes two lists and sorts one based on the elements of the other. So something like: would result in a sorted list [E, C, A, D, B]. However, valuesToSort might be a list of something different, like integers, floats or other lists. Ideally, I would want my progr…