Top "Apache-commons" questions

The Apache Commons project provides reusable, open source Java software components.

Apache Commons CLI : Getting list of values for an option

For a CLI, I have a requirement to pass in an array of ints as input for a particular option. …

java command-line-interface apache-commons
java.lang.NoClassDefFoundError: com.sun.org.apache.commons.beanutils.PropertyUtils

i am trying to use apache commons collections and predicate as follows: List<Cat> bigList = ....; // master list Collection&…

java apache-commons apache-commons-collection
Create a folder hierarchy through FTP in Java

Is there readily available functionality for Java to create a folder hierarchy on a remote FTP server. Apache Commons does …

java ftp apache-commons
Finding Log4J log file

I'm working on a project that uses Log4J via Commons. I'm trying to find the path to the log …

java log4j apache-commons
Process output from apache-commons exec

I am at my wits end here. I'm sure this is something simple and I most likely have huge holes …

java apache-commons apache-commons-exec
Calculate percentile from a long array?

Given a long array of latencies which are in milliseconds, I want to calculate percentile from them. I got below …

java math statistics apache-commons percentile
Apache's StringUtils.isBlank(str) vs. Guava's Strings.isNullOrEmpty(str): Should you routinely check for whitespace?

Is there any advantage in using StringUtils.isBlank(str) from Apache commons-lang. vs Strings.isNullOrEmpty(String string) from Google Guava? …

java string apache-commons guava
No header mapping was specified, the record values can't be accessed by name (Apache Commons CSV)

I got this error message happening when I'm trying to read a csv: Exception in thread "main" java.lang.IllegalStateException: …

java csv apache-commons apache-commons-csv
DefaultParser in Apache Commons CLI

I wanted to try out the Apache Commons CLI, and figured a good place to start would be the 'usage' …

java command-line-interface apache-commons
IMAP client in Java: JavaMail API or Apache Commons Net?

I have to implement an IMAP Client in Java. Which advantages has using the Apache Commons Net library? Does it …

java email imap jakarta-mail apache-commons