简体   繁体   English

如何使用Apache Commons下载

[英]How to use apache commons download

I've just downloaded apache commons-lang3-3.2.1 source and binary because I want to try out their Fraction class. 我刚刚下载了apache commons-lang3-3.2.1源代码和二进制文件,因为我想尝试一下它们的Fraction类。

My first question is how to find the relevant file to add to the build path in Eclipse? 我的第一个问题是如何找到相关文件添加到Eclipse中的构建路径?

My second question is whether to use binary or source? 我的第二个问题是使用二进制文件还是源文件?

I've tried looking in both but I can only see executable JARs and JAVA files and I seem to remember they aren't what I need from past experience. 我曾尝试在两者中查找,但只能看到可执行的JAR和JAVA文件,而且我似乎还记得,根据过去的经验,它们不是我所需要的。

您需要决定将sourcebinary添加到eclipse buildpath ,但是我总是会只将完整的binary添加到eclipse构建路径中,如果我需要查看该方法在内部如何真正起作用,我们可以通过任何方式查看api源代码而不将其添加到构建路径。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM