Top "Apache-commons" questions

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

Apache Commons FTPClient.listFiles

I am using org.apache.commons.net.ftp.FTPClient in one of my applications to work with a FTP server. …

java apache-commons ftp-client
Apache Commons Net FTPClient and listFiles()

Can anyone explain me what's wrong with the following code? I tried different hosts, FTPClientConfigs, it's properly accessible via firefox/…

java apache-commons ftp-client
Is there an alternative to StringUtils.isNumeric that does what I mean?

StringUtils.isNumeric returns true for "" and false for 7.8. This is of course it's documented behavior, but really not the most …

java apache-commons
SpringBoot: Large Streaming File Upload Using Apache Commons FileUpload

Am trying to upload a large file using the 'streaming' Apache Commons File Upload API. The reason I am using …

spring spring-boot apache-commons apache-commons-fileupload
NoClassDefFoundError: org/apache/commons/configuration/ConfigurationException

I have an app in which I need to parse configuration file and when run this program on server it …

java maven apache-commons apache-commons-config
Is there an enum with MIME Types in Java?

Possible Duplicate: Interface/enum listing standard mime-type constants Is there an enum (or something similar) which holds constants for the …

java mime apache-commons guava
Is it safe to use Apache commons-io IOUtils.closeQuietly?

Is this code BufferedWriter bw = new BufferedWriter(new FileWriter("test.txt")); try { bw.write("test"); } finally { IOUtils.closeQuietly(bw); } safe …

java apache-commons apache-commons-io
How to create CommonsMultipartFile object given only a file

I have a junit test method that takes a CommonsMultipartFile object as a parameter. I'm trying to create a FileItem …

spring spring-mvc file-upload apache-commons
Apache commons daemon "Failed creating Java" error

I'm trying to start a Windows service using the Apache commons daemon. It works on Windows XP, but I'm trying …

daemon apache-commons procrun
Apache Commons CLI - option type and default value

How can I give a CLI Option a type - such as int or Integer? (Later, how can I get …

java apache-commons apache-commons-cli