Top "Apache-commons" questions

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

Apache CLI: Required options contradicts with help option.

If I have 2 options defined as required such as: public static void main(String [] args){ Options options= new Options(); Option …

java apache-commons apache-commons-cli
duplicate classes in commons-collections and commons-beanutils

There are four duplicate classes in two Maven artifacts from Apache: commons-beanutils:commons-beanutils:1.8.3 and commons-collections:commons-collections:3.2.1: org.apache.commons.collections.…

java maven apache-commons
Java commons-cli, options with list of possible values

How can I make an option accept only some specified values like in the following example: $ java -jar Mumu.jar …

java command-line command-line-interface apache-commons apache-commons-cli
Question regarding org.apache.commons.dbcp.BasicDataSource

I fixed some bug related to the way we were using BasicDataSource and though I understand part of it I …

apache jdbc apache-commons apache-commons-dbcp
Apache Commons Configuration2 how to read data from InputStream

How can I read the data from InputStream by using Apache Commons Configuration2? FileBasedConfigurationBuilder<XMLConfiguration> builder = new FileBasedConfigurationBuilder&…

java apache-commons xml-configuration apache-commons-config
Graceful kill of Apache Commons Exec process

I am starting an external process in my Java program (on Linux) and I need the ability to send it …

java unix apache-commons apache-commons-exec
Decompressing tar file with Apache Commons Compress

I'm using Apache Commons Compress to create tar archives and decompress them. My problems start with this method: private void …

java apache-commons apache-commons-compress
How to ensure that all arguments are provided in Apache Commons CLI?

I don't see a standard way of checking if all Options are provided in a String[] input to apache's CLI …

java apache-commons error-checking apache-commons-cli
Create objects in GenericObjectPool

I'm doing research on GenericObjectPool by putting Cipher in pool so it can be reused. GenericObjectPool<Cipher> pool; …

java object generics apache-commons pool
What sort of equality does the Apache Commons ObjectUtils equals method test for?

I have always understood there to be two types of equality in Java, value equality : uses the .equals() method to …

java equals apache-commons equality apache-commons-lang