4

I want to use functionality from a certain method in apache commons StringUtils. I currently do not have the option of just using the library as one would normally do. I found the source for the method I need and my question is: am I free (legally) to use this code (just a method out of the library) or do I have to use the entire library? If its ok, what kind of attribution would I need in my code, if any? Thanks.

ColinD
  • 108,630
  • 30
  • 201
  • 202
llm
  • 5,539
  • 12
  • 36
  • 30
  • 4
    I'm voting to close this question as off-topic because it is about licensing or legal issues, not programming or software development. [See here](http://meta.stackoverflow.com/questions/274963/questions-about-licensing/274964#274964) for details, and the [help] for more. – JasonMArcher Jun 12 '15 at 03:23

1 Answers1

4

You can certainly use just the methods that you want, provided that you follow the relevant terms of the Apache license. They say (among other things) that you must retain existing copyright notices, attribution and license notices. The license is easy to understand ... and if you are not comfortable that you fully understand it, consult an IP lawyer.

Stephen C
  • 698,415
  • 94
  • 811
  • 1,216