org.apache.aries.util.filesystem
Class FileUtils

java.lang.Object
  extended by org.apache.aries.util.filesystem.FileUtils

public class FileUtils
extends Object


Constructor Summary
FileUtils()
           
 
Method Summary
static List<URI> getBundlesRecursive(URI sourceDir)
          Get a list of urls for the bundles under the parent url
static boolean isBundle(File file)
          Check whether a file is a bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

isBundle

public static boolean isBundle(File file)
Check whether a file is a bundle.

Parameters:
file - the file path
Returns:

getBundlesRecursive

public static List<URI> getBundlesRecursive(URI sourceDir)
                                     throws IOException
Get a list of urls for the bundles under the parent url

Parameters:
sourceDir - The parent url
Returns:
Throws:
IOException


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.