Top "Apache-commons" questions

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

A Java library to compress (e.g. LZW) a string

Apache Commons Compress works only with archive files (please correct me if I am wrong). I need something like MyDB.…

java algorithm compression apache-commons lzw
Standard deviation with Apache Commons Math

I am computing the SD of a vector using Apache Commons Math. The problem: I get different values than by …

java math apache-commons apache-commons-math
retrieving Exception Full stacktrace

I am trying to upgrade Apache commons lang from 2.4 to 3.1 in my project. My implementation has a reference to ExceptionUtil.…

java exception apache-commons lang
ZipArchiveInputStream created from InputStream, unable to read the content

Working Code : InputStream is = zipFile.getInputStream(zipArchiveEntry); BufferedReader br = new BufferedReader(new InputStreamReader(zis)); StringBuilder sb = new StringBuilder(); String line; …

java apache apache-commons apache-commons-compress
Apache Common IO FileUtils Issue

I am trying to use the FileUtils.writeStringToFile() method of the Apache Commons IO. Every bit of documentation says that …

apache apache-commons fileutils
Mutually exclusive options using Apache Commons CLI

I can create 2 mutually exclusive options using the following: Option a = OptionBuilder.create("a"); Option b = OptionBuilder.create("b"); OptionGroup …

java apache-commons apache-commons-cli