Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBF38D5F9 for ; Wed, 25 Jul 2012 20:09:02 +0000 (UTC) Received: (qmail 18979 invoked by uid 500); 25 Jul 2012 20:09:02 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 18878 invoked by uid 500); 25 Jul 2012 20:09:02 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 18870 invoked by uid 99); 25 Jul 2012 20:09:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 20:09:02 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elijahzupancic@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vb0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 20:08:56 +0000 Received: by vbbfq11 with SMTP id fq11so1238823vbb.30 for ; Wed, 25 Jul 2012 13:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=oxaBu2kNi3i9beE3uUNji3hvBkNofqYDl1YY1aqyhp4=; b=GaZ2MPapIwKZ4tX0lf/goFIxLNjKkQO4tEITUjaQnKHBcwb7PhQd8+IJ32PYYapkjZ 4Wv1INz5/sFgPUDpuCJ8gp+PO3BjGjahWk8KjBVnjKR6DBrFS+8SEk3OQ8EMcMW9LK9S 95Pk32kKafaXBJpd8LaKTCIs2+0d9E6vUjkglELjo8LqDFdwFy24BAPTG+VzFx+nIheS gu/1iPJ+JGYk50xW808S8RVZv9nEs/jxeXW3rKoJwxV7Y4CvA7x6EPm5oDeQ72PmlGld pwDZJrcIKFeO9GchqtaovTMgtwatTVuEE+81Ck98w5F2Lr+mzx2gB19r9Mp2AUvty4jd Lakg== Received: by 10.220.240.5 with SMTP id ky5mr19051119vcb.57.1343246915738; Wed, 25 Jul 2012 13:08:35 -0700 (PDT) MIME-Version: 1.0 Sender: elijahzupancic@gmail.com Received: by 10.58.172.40 with HTTP; Wed, 25 Jul 2012 13:08:15 -0700 (PDT) In-Reply-To: References: <4D523FB0823732429A6BC464EDE8CB0F14DEDE3A@BY2PRD0510MB390.namprd05.prod.outlook.com> From: Elijah Zupancic Date: Wed, 25 Jul 2012 13:08:15 -0700 X-Google-Sender-Auth: 2h1GPltAUi4r5bwkxCcNp_IRxQQ Message-ID: Subject: Re: [io] Problem with the FileUtils.byteCountToDisplaySize() method To: Commons Developers List Cc: ninju.bohra@technologypartners.co Content-Type: text/plain; charset=UTF-8 Hi Ninju, Could you describe the difference in functionality between the stackoverflow answer and the current implementation in FileUtils? I think that it would not be too hard to get the type of functionality added if it was defined precisely. Also, would you be willing to volunteer to add the code yourself? I'm relatively new around here and I've found that the best way to get something done is to offer to do it yourself. Thanks, -Elijah On Wed, Jul 25, 2012 at 12:47 PM, Simone Tripodi wrote: > Hi Ninju, > > welcome to Apache Commons! Usually these kind of questions should be > sent to users@, while on dev@ we discuss about components development. > > Unfortunately I am not familiar with [io] so I am not in the position > to reply your question. > > best, > -Simo > > http://people.apache.org/~simonetripodi/ > http://simonetripodi.livejournal.com/ > http://twitter.com/simonetripodi > http://www.99soft.org/ > > > On Wed, Jul 25, 2012 at 6:16 PM, Ninju Bohra > wrote: >> Hello all, >> >> First time poster so please be kind. >> >> I need to convert a filesize to a human-readable String and I saw the method in FileUtils that I thought I could use. >> >> But I also searched StackOverflow.com and found the following question: >> >> http://stackoverflow.com/questions/3758606/how-to-convert-byte-size-into-human-readable-format-in-java >> >> It looks like the most popular answer appears to be more flexible and capable (esp. for European concerns) that what is currently in FileUtils.java >> >> What is the process for getting this behavior available to FileUtils.java, either as a new method(s) OR as an update to the existing implementation? >> >> Thanks, >> >> ________________________________ >> Ninju Bohra >> (636) 534-5753 (desk) >> (636) 675-0639 (cell) >> ninju.bohra@technologypartners.co >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org