Looking to pass size of files back to a directory listing
<p>I needed some help with passing the size of a list of files to a method and having it list the files size next to the name. For some reason I am having an issue getting this to pass through.
I have all the files assigned to a value "directory"</p>

<p>I have the files called and the method as a private String xyz(long size)</p>

<p>I have tried calling by xyz(directory), or long file = new directory.legnth then xyz(directory)....</p>

<p>I am banging my head against the wall with this any assistance appreciated.</p>

<p>EDIT 1:</p>

<p>When I say directory that is just what I am using to refer to the path of the directory to be traversed, I have one method that is recursively listing the files in a folder, and I am trying to pass a long variable to anther method to return the size of each file. So currently I get a listing of all files but thats about it. For some reason it will just not come to me as to how to get the method called.</p>
