org.apache.aries.application.utils.filesystem
Class FileSystem
java.lang.Object
org.apache.aries.application.utils.filesystem.FileSystem
public class FileSystem
- extends Object
An abstraction of a file system. A file system can be a zip, or a directory.
|
Method Summary |
static IDirectory |
getFSRoot(File fs)
This method gets the IDirectory that represents the root of a virtual file
system. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystem
public FileSystem()
getFSRoot
public static IDirectory getFSRoot(File fs)
- This method gets the IDirectory that represents the root of a virtual file
system. The provided file can either identify a directory, or a zip file.
- Parameters:
fs - the zip file.
- Returns:
- the root of the virtual FS.
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.